UIViewController.ViewDidLoad UIViewController.ViewDidLoad Method

Definition

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

[Foundation.Export("viewDidLoad")]
public virtual void ViewDidLoad ();
abstract member ViewDidLoad : unit -> unit
override this.ViewDidLoad : unit -> unit

Remarks

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