There's a lot of outdated and incomplete information here. For iOS 6 and newer only:
loadView
[a]viewDidLoad
[a]viewWillAppear
viewWillLayoutSubviews
is the first time bounds are finalizedviewDidLayoutSubviews
viewDidAppear
*
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.