UIApplication.KeyWindow Property

Definition

Returns the application's key window - the window that is currently displayed and receives user input

public virtual UIKit.UIWindow KeyWindow { [Foundation.Export("keyWindow")] get; }
member this.KeyWindow : UIKit.UIWindow

Property Value

Attributes

Remarks

The key window is the currently visible window that is also the one that receives user input. The key window in turn will route input events to the UIViewController that is defined in set in the RootViewController property.

Applies to