UIViewController.LoadView Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes the View property.
[Foundation.Export("loadView")]
public virtual void LoadView ();
abstract member LoadView : unit -> unit
override this.LoadView : unit -> unit
- Attributes
Remarks
This method should not be called directly. It is called when the View property is accessed and lazily initialized. Generally, the appropriate UIView will be loaded from a nib file, but application developers may override it to create a custom UIView. This method should not be overridden to provide general initialization on loading a view, that belongs in the ViewDidLoad() method.