UIApplication.Notifications UIApplication.Notifications Class

Definition

Notification posted by the UIApplication class.

public static class UIApplication.Notifications
type UIApplication.Notifications = class
Inheritance
UIApplication.NotificationsUIApplication.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

ObserveBackgroundRefreshStatusDidChange(EventHandler<NSNotificationEventArgs>) ObserveBackgroundRefreshStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveBackgroundRefreshStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>) ObserveBackgroundRefreshStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>) ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveContentSizeCategoryChanged(NSObject, EventHandler<UIContentSizeCategoryChangedEventArgs>) ObserveContentSizeCategoryChanged(NSObject, EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveDidBecomeActive(EventHandler<NSNotificationEventArgs>) ObserveDidBecomeActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>) ObserveDidBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>) ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>) ObserveDidChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>) ObserveDidChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>) ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>) ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>) ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>) ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidFinishLaunching(NSObject, EventHandler<UIApplicationLaunchEventArgs>) ObserveDidFinishLaunching(NSObject, EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidReceiveMemoryWarning(EventHandler<NSNotificationEventArgs>) ObserveDidReceiveMemoryWarning(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveDidReceiveMemoryWarning(NSObject, EventHandler<NSNotificationEventArgs>) ObserveDidReceiveMemoryWarning(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveProtectedDataDidBecomeAvailable(NSObject, EventHandler<NSNotificationEventArgs>) ObserveProtectedDataDidBecomeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification

ObserveProtectedDataDidBecomeAvailable(EventHandler<NSNotificationEventArgs>) ObserveProtectedDataDidBecomeAvailable(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification

ObserveProtectedDataWillBecomeUnavailable(EventHandler<NSNotificationEventArgs>) ObserveProtectedDataWillBecomeUnavailable(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification

ObserveProtectedDataWillBecomeUnavailable(NSObject, EventHandler<NSNotificationEventArgs>) ObserveProtectedDataWillBecomeUnavailable(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification

ObserveSignificantTimeChange(EventHandler<NSNotificationEventArgs>) ObserveSignificantTimeChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveSignificantTimeChange(NSObject, EventHandler<NSNotificationEventArgs>) ObserveSignificantTimeChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveUserDidTakeScreenshot(EventHandler<NSNotificationEventArgs>) ObserveUserDidTakeScreenshot(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveUserDidTakeScreenshot(NSObject, EventHandler<NSNotificationEventArgs>) ObserveUserDidTakeScreenshot(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>) ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>) ObserveWillChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>) ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>) ObserveWillChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>) ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>) ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillResignActive(EventHandler<NSNotificationEventArgs>) ObserveWillResignActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>) ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillTerminate(EventHandler<NSNotificationEventArgs>) ObserveWillTerminate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>) ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

Applies to