SwitchChildViewControllersWithAutoLayout
SwitchChildViewControllersWithAutoLayout copied to clipboard
Lifecycle order
Hi, great tutorial.
Just one thing that keep me thinking. What can be done here to somehow manipulate life cycle of child view controllers? In my project I use code very similar to yours and the lifecycle goes like this:
- will appear
- did appear // transition animation
- will disappear
- did disappear
But what I would like, is to make viewWillDisappear call before transition starts. Is it possible? So something like this:
- will appear
- will disappear
- did appear // transition animation
- did disappear