Is it possible in iOS 6 to know when a UIStoryboardSegue
has finished its transition? Like when i add a UIStoryboardSegue
from UIButton
to push another UIViewController
on the navigationcontroler, i want to to something right after the push-transition is finished.
You can use the UINavigationControllerDelegate
protocol and then define:
– navigationController:didShowViewController:animated:
In case you don't want to use the viewDidAppear:
method, you could create a custom segue. In the perform
method you would use an animation for the transition, and that can have a completion block. You can add the code there after the animation is complete.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With