I've two UIViews presented in the same UINavigationController; View A & View B.
During the transition, because I want to apply some custom animation styles, I want to know the percentage of the progress of the presentation inside the UINavigationController. How do I do this?
I want a function like this:
class ExampleNavigationController: UINavigationController {
func viewControllerMoves(from: UIViewController, to: UIViewController, progress: CGFloat) {
//I can read here how far the animation is and apply custom animation styles
}
}
This function should also be called during an update by the user: Example --> http://www.latet.nl/appvideo.mov
How do I do this?
Example screens
Percentage would be 0.50
Percentage would be 1.00
Percentage would be 0.00


