1. Initialization, Viewcontroller will be initialized from storyboard, but the Init method will not be called (the initialization method is like air-to-air and water-based), and awakefromnib will be called when initialized
2. After setting the output (outlet), Viewdidload will be called
3. When the geometry position is determined, viewwilllayoutsubviews/viewdidlayoutsubviews will be called, so do not initialize the geometry position related content
4. Then, every time MVC appears on the screen, Viewwillappear/viewdidappear is called
5. Viewwilllayoutsubviews/viewdidlayoutsubviews will be called when geometric changes (portrait to screen toggle)
When 6.MVC disappears from the screen (as the point goes back into the parent view), Viewwillappear/viewdidappear is called
7. If iOS is out of memory, you will get a didreceivememorywarning notification (also in the background runtime), where it is released to a memory-intensive object (such as preloaded video), or iOS may kill you
The life cycle of ios7/object-c Viewcontroller