UIViewController.ViewDidLoad Method


Called after the controller’s View is loaded into memory.

public virtual void ViewDidLoad ();
abstract member ViewDidLoad : unit -> unit
override this.ViewDidLoad : unit -> unit


This method is called after this UIViewController's View and its entire view hierarchy have been loaded into memory. This method is called whether the UIView was loaded from a .xib file or programmatically.

Applies to