View LifeCycle

First Time Call :

1. viewDidLoad
2. viewWillAppear
3. viewDidAppear


If Push To Another(second) ViewController :

1. FirstVC :- viewWillDisappear
2. SecondVC :- viewDidLoad
3. SecondVC :- viewWillAppear
4. FirstVC :- viewDidDisappear
5. SecondVC :- viewDidAppear


If POP To Back(First) ViewController :

1. SecondVC :- viewWillDisappear
2. FirstVC :- viewWillAppear
3. SecondVC :- viewDidDisappear
4. FirstVC :- viewDidAppear
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s