Could you explain me the correct manner to manage the UIViewController lifecycle?
UIViewController
In particular, I would like to know how to use Initialize
Initialize
The methods viewWillLayoutSubviews and viewDidLayoutSubviews aren't mentioned in the diagrams, but these are called between viewWillAppear and viewDidAppear. They can be called multiple times.
viewWillLayoutSubviews
viewDidLayoutSubviews
viewWillAppear
viewDidAppear