I have fully transparent a table and navigation controllers. Because of this, when pushing new view controllers the animation was broken. Therefore I added my own custom push transition which takes snapshot of the next view controller and animates that.
This no longer works on iOS10. snapshotView(afterScreenUpdates: true)
returns a view that is pure white. I also tried getting the snapshot with the old method through graphics context and it didn't work too.
How can I be sure that the view being pushed to the navigation controller is loaded before snapshotView? Or is there a better way to solve this? This is a breaking change for me unfortunately..
snapshotImageView()
method instead. – Abrahamabrahams