UIApplication.KeyWindow UIApplication.KeyWindow Property

Definition

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

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

Property Value

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