Type Property

didBecomeKeyNotification

Posted whenever a UIWindow object becomes the key window.

Declaration

class let didBecomeKeyNotification: NSNotification.Name

Discussion

The notification object is the window object that has become key. This notification does not contain a userInfo dictionary.

See Also

Responding to Window-Related Notifications

class let didBecomeVisibleNotification: NSNotification.Name

Posted when an UIWindow object becomes visible.

class let didBecomeHiddenNotification: NSNotification.Name

Posted when an UIWindow object becomes hidden.

class let didResignKeyNotification: NSNotification.Name

Posted whenever a UIWindow object resigns its status as main window.