Edytuj

Udostępnij za pośrednictwem


UIApplication.Notifications Class

Definition

Notification posted by the UIApplication class.

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

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveBackgroundRefreshStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BackgroundRefreshStatusDidChangeNotification constant.

ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveContentSizeCategoryChanged(NSObject, EventHandler<UIContentSizeCategoryChangedEventArgs>)

Strongly typed notification for the ContentSizeCategoryChangedNotification constant.

ObserveDidBecomeActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidBecomeActiveNotification constant.

ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarFrameNotification constant.

ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the DidChangeStatusBarOrientationNotification constant.

ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidEnterBackgroundNotification constant.

ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidFinishLaunching(NSObject, EventHandler<UIApplicationLaunchEventArgs>)

Strongly typed notification for the DidFinishLaunchingNotification constant.

ObserveDidReceiveMemoryWarning(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveDidReceiveMemoryWarning(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DidReceiveMemoryWarningNotification constant.

ObserveProtectedDataDidBecomeAvailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification constant.

ObserveProtectedDataDidBecomeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification constant.

ObserveProtectedDataWillBecomeUnavailable(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification constant.

ObserveProtectedDataWillBecomeUnavailable(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification constant.

ObserveSignificantTimeChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveSignificantTimeChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SignificantTimeChangeNotification constant.

ObserveUserDidTakeScreenshot(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveUserDidTakeScreenshot(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the UserDidTakeScreenshotNotification constant.

ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarFrameNotification constant.

ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

Strongly typed notification for the WillChangeStatusBarOrientationNotification constant.

ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillEnterForegroundNotification constant.

ObserveWillResignActive(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillResignActiveNotification constant.

ObserveWillTerminate(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the WillTerminateNotification constant.

Applies to