Edit

Share via


UIWindow.Notifications Class

Definition

Notification posted by the UIWindow class.

public static class UIWindow.Notifications
type UIWindow.Notifications = class
Inheritance
UIWindow.Notifications

Remarks

This is a static class which contains various helper methods that allow developers to observe events posted in the iOS notification hub (NSNotificationCenter).

The methods defined in this class post events invoke the provided method or lambda with a NSNotificationEventArgs parameter which contains strongly typed properties for the notification arguments.

Methods

ObserveDidBecomeHidden(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeHiddenNotification constant.

ObserveDidBecomeHidden(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeHiddenNotification constant.

ObserveDidBecomeKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeKeyNotification constant.

ObserveDidBecomeKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeKeyNotification constant.

ObserveDidBecomeVisible(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeVisibleNotification constant.

ObserveDidBecomeVisible(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeVisibleNotification constant.

ObserveDidResignKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidResignKeyNotification constant.

ObserveDidResignKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidResignKeyNotification constant.

Applies to