When using storyboards, the controller is initialized with this method, not with the init or initWithNibName:bundle: methods.
awakeFromNib
willMoveToParentViewController:
The controller that is passed with this call is the UINavigationController.
prefersStatusBarHidden
preferredStatusBarUpdateAnimation
loadView
UIViewController‘s loadView function assigns all objects with ‘Referencing Outlets’ (aka IBOutlets) in Interface Builder to their corresponding IBOutlet properties. If you need access to these IBOutlet objects in this function, call super first.
prepareForSegue:sender:
This call allows us to inspect the UIStoryboardEmbedSegue that embeds the smaller scene in Scene B’s container view.
viewDidLoad
This method is usually where most of a controller’s set up happens. Note that all of our IBOutlets have been connected, but our views have not yet been laid out.
extendedLayoutIncludesOpaqueBars
edgesForExtendedLayout
viewWillAppear:
extendedLayoutIncludesOpaqueBars
edgesForExtendedLayout
updateViewConstraints
viewWillLayoutSubviews
viewDidLayoutSubviews
Animation
The animation that transitions from Scene A to Scene B runs. Step 18 does not happen until the animation finishes.
viewDidAppear:
didMoveToParentViewController:
This call concludes the process started on step 2. Here we receive the same instance of UINavigationController.