I have added a UIView
to my [UIApplication sharedApplication].keyWindow
and it is working properly.
When a button on the UIView
is tapped, I want to push a new UIViewController
onto the underlying NavigationController
This all works, but how can I make the UIView
animate off the screen, to the left, with the underlying UIViewController
?
You can animate your custom view and at the same time pass the control to the mail view controller to push the next view controller onto the navigation controller's stack... Below is the example code which I have simulated. The animation of your custom view should be in sync with the view controllers animation.