Returns an initialized interface controller object.
- iOS 8.2+
- watchOS 2.0+
The initialized interface controller object.
This method is the designated initializer for interface controller objects. Override this method as needed and use it to prepare your interface controller for use. In your implementation, call
super first and then perform your own initialization.
In a page-based interface, all interface controllers are initialized up front but only the first one is displayed initially. The others are not displayed until the user navigates to the corresponding page. If your interface controller displays information that can change between initialization and the display of the page, use the
will method to refresh your content. Use the
did method to start animations or perform tasks that should wait until the interface appears onscreen.