Could you explain me the correct manner to manage the UIViewController lifecycle?
In particular, I would like to know how to use Initialize
There's a lot of outdated and incomplete information here. For iOS 6 and newer only:
loadView[a]viewDidLoad[a]viewWillAppearviewWillLayoutSubviews is the first time bounds are finalizedviewDidLayoutSubviewsviewDidAppear* viewWillLayoutSubviews[b]* viewDidLayoutSubviews[b]Footnotes:
(a) - If you manually nil out your view during didReceiveMemoryWarning, loadView and viewDidLoad will be called again. That is, by default loadView and viewDidLoad only gets called once per view controller instance.
(b) May be called an additional 0 or more times.