public class CanvasController: UIViewController
The CanvasController class provides the infrastructure for managing the views of your iOS apps. A canvas controller manages a set of views that make up a portion of your app’s user interface. It is responsible for loading and disposing of those views, for managing interactions with those views, and for coordinating responses with any appropriate data objects. Canvas controllers also coordinate their efforts with other controller objects—including other view controllers—and help manage your app’s overall interface.
Called after the controller's view is loaded into memory.
This override disables implicit CALayer animations, calls
setup()and then re-enables animations.
You should not override this method, instead use setup().
public override func viewDidLoad()
Called during the controller’s
This method should be used to set up any objects or behaviours necessary when the controller’s view loads.
public func setup()
Overrides default behaviour of showing the app’s status bar. Defaults to
public override func prefersStatusBarHidden() -> Bool
a boolean value representing whether or not the app should hide its status bar