Type Property

didBecomeVisibleNotification

Posted when an UIWindow object becomes visible.

Declaration

class let didBecomeVisibleNotification: NSNotification.Name

Discussion

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

Switching between apps does not generate visibility-related notifications for windows. Window visibility changes reflect changes to the window’s isHidden property and reflect only the window’s visibility within the app.

See Also

Responding to Window-Related Notifications

class let didBecomeHiddenNotification: NSNotification.Name

Posted when an UIWindow object becomes hidden.

class let didBecomeKeyNotification: NSNotification.Name

Posted whenever a UIWindow object becomes the key window.

class let didResignKeyNotification: NSNotification.Name

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