UIView.Notifications 类

定义

类发布的 UIView 通知。

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

注解

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

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

方法

ObserveAnnouncementDidFinish(EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

常量的强类型通知 AnnouncementDidFinishNotification

ObserveAnnouncementDidFinish(NSObject, EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

常量的强类型通知 AnnouncementDidFinishNotification

ObserveAssistiveTechnologyKey(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.AssistiveTechnologyKeyNotification 常量的强类型通知。

ObserveAssistiveTechnologyKey(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.AssistiveTechnologyKeyNotification 常量的强类型通知。

ObserveAssistiveTouchStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 AssistiveTouchStatusDidChangeNotification

ObserveAssistiveTouchStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 AssistiveTouchStatusDidChangeNotification

ObserveBoldTextStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 BoldTextStatusDidChangeNotification

ObserveBoldTextStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 BoldTextStatusDidChangeNotification

ObserveClosedCaptioningStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ClosedCaptioningStatusDidChangeNotification

ObserveClosedCaptioningStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ClosedCaptioningStatusDidChangeNotification

ObserveDarkerSystemColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DarkerSystemColorsStatusDidChangeNotification

ObserveDarkerSystemColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 DarkerSystemColorsStatusDidChangeNotification

ObserveElementFocused(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ElementFocusedNotification

ObserveElementFocused(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ElementFocusedNotification

ObserveFocusedElementKey(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.FocusedElementKeyNotification 常量的强类型通知。

ObserveFocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.FocusedElementKeyNotification 常量的强类型通知。

ObserveGrayscaleStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 GrayscaleStatusDidChangeNotification

ObserveGrayscaleStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 GrayscaleStatusDidChangeNotification

ObserveGuidedAccessStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 GuidedAccessStatusDidChangeNotification

ObserveGuidedAccessStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 GuidedAccessStatusDidChangeNotification

ObserveHearingDevicePairedEarDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 HearingDevicePairedEarDidChangeNotification

ObserveHearingDevicePairedEarDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 HearingDevicePairedEarDidChangeNotification

ObserveInvertColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 InvertColorsStatusDidChangeNotification

ObserveInvertColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 InvertColorsStatusDidChangeNotification

ObserveMonoAudioStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 MonoAudioStatusDidChangeNotification

ObserveMonoAudioStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 MonoAudioStatusDidChangeNotification

ObserveReduceMotionStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ReduceMotionStatusDidChangeNotification

ObserveReduceMotionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ReduceMotionStatusDidChangeNotification

ObserveReduceTransparencyStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ReduceTransparencyStatusDidChangeNotification

ObserveReduceTransparencyStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ReduceTransparencyStatusDidChangeNotification

ObserveShakeToUndoDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ShakeToUndoDidChangeNotification

ObserveShakeToUndoDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 ShakeToUndoDidChangeNotification

ObserveSpeakScreenStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SpeakScreenStatusDidChangeNotification

ObserveSpeakScreenStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SpeakScreenStatusDidChangeNotification

ObserveSpeakSelectionStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SpeakSelectionStatusDidChangeNotification

ObserveSpeakSelectionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SpeakSelectionStatusDidChangeNotification

ObserveSwitchControlStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SwitchControlStatusDidChangeNotification

ObserveSwitchControlStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 SwitchControlStatusDidChangeNotification

ObserveUnfocusedElementKey(EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.UnfocusedElementKeyNotification 常量的强类型通知。

ObserveUnfocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

P:UIKit.UIView.UnfocusedElementKeyNotification 常量的强类型通知。

ObserveVoiceOverStatusDidChange(EventHandler<NSNotificationEventArgs>)

常量的强类型通知 VoiceOverStatusDidChangeNotification

ObserveVoiceOverStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常量的强类型通知 VoiceOverStatusDidChangeNotification

适用于