SwitchChildViewControllersWithAutoLayout icon indicating copy to clipboard operation
SwitchChildViewControllersWithAutoLayout copied to clipboard

Lifecycle order

Open klemenzagar91 opened this issue 8 years ago • 0 comments

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

klemenzagar91 avatar Jul 17 '16 22:07 klemenzagar91