UIApplication.Notifications 类

定义

UIApplication 发布的通知。

public static class UIApplication.Notifications
type UIApplication.Notifications = class
继承
UIApplication.Notifications

注解

这是一个静态类,其中包含各种帮助程序方法,开发人员可以使用这些方法观察 iOS 通知中心发布的事件 (NSNotificationCenter) 。

此类后事件中定义的方法使用 NSNotificationEventArgs 包含通知参数的强类型属性的参数调用提供的方法或 lambda。

方法

ObserveBackgroundRefreshStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 BackgroundRefreshStatusDidChangeNotification

ObserveBackgroundRefreshStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 BackgroundRefreshStatusDidChangeNotification

ObserveContentSizeCategoryChanged(EventHandler<UIContentSizeCategoryChangedEventArgs>)

常量的强类型通知 ContentSizeCategoryChangedNotification

ObserveContentSizeCategoryChanged(NSObject, EventHandler<UIContentSizeCategoryChangedEventArgs>)

常量的强类型通知 ContentSizeCategoryChangedNotification

ObserveDidBecomeActive(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidBecomeActiveNotification

ObserveDidBecomeActive(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidBecomeActiveNotification

ObserveDidChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

常量的强类型通知 DidChangeStatusBarFrameNotification

ObserveDidChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

常量的强类型通知 DidChangeStatusBarFrameNotification

ObserveDidChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

常量的强类型通知 DidChangeStatusBarOrientationNotification

ObserveDidChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

常量的强类型通知 DidChangeStatusBarOrientationNotification

ObserveDidEnterBackground(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidEnterBackgroundNotification

ObserveDidEnterBackground(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidEnterBackgroundNotification

ObserveDidFinishLaunching(EventHandler<UIApplicationLaunchEventArgs>)

常量的强类型通知 DidFinishLaunchingNotification

ObserveDidFinishLaunching(NSObject, EventHandler<UIApplicationLaunchEventArgs>)

常量的强类型通知 DidFinishLaunchingNotification

ObserveDidReceiveMemoryWarning(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidReceiveMemoryWarningNotification

ObserveDidReceiveMemoryWarning(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DidReceiveMemoryWarningNotification

ObserveProtectedDataDidBecomeAvailable(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification 常量的强类型通知。

ObserveProtectedDataDidBecomeAvailable(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataDidBecomeAvailableNotification 常量的强类型通知。

ObserveProtectedDataWillBecomeUnavailable(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification 常量的强类型通知。

ObserveProtectedDataWillBecomeUnavailable(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIApplication.ProtectedDataWillBecomeUnavailableNotification 常量的强类型通知。

ObserveSignificantTimeChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SignificantTimeChangeNotification

ObserveSignificantTimeChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SignificantTimeChangeNotification

ObserveUserDidTakeScreenshot(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 UserDidTakeScreenshotNotification

ObserveUserDidTakeScreenshot(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 UserDidTakeScreenshotNotification

ObserveWillChangeStatusBarFrame(EventHandler<UIStatusBarFrameChangeEventArgs>)

常量的强类型通知 WillChangeStatusBarFrameNotification

ObserveWillChangeStatusBarFrame(NSObject, EventHandler<UIStatusBarFrameChangeEventArgs>)

常量的强类型通知 WillChangeStatusBarFrameNotification

ObserveWillChangeStatusBarOrientation(EventHandler<UIStatusBarOrientationChangeEventArgs>)

常量的强类型通知 WillChangeStatusBarOrientationNotification

ObserveWillChangeStatusBarOrientation(NSObject, EventHandler<UIStatusBarOrientationChangeEventArgs>)

常量的强类型通知 WillChangeStatusBarOrientationNotification

ObserveWillEnterForeground(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillEnterForegroundNotification

ObserveWillEnterForeground(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillEnterForegroundNotification

ObserveWillResignActive(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillResignActiveNotification

ObserveWillResignActive(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillResignActiveNotification

ObserveWillTerminate(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillTerminateNotification

ObserveWillTerminate(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 WillTerminateNotification

适用于