Bewerken

Delen via


UIView.Notifications Class

Definition

Notifications posted by the UIView class.

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

ObserveAnnouncementDidFinish(EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

Strongly typed notification for the AnnouncementDidFinishNotification constant.

ObserveAnnouncementDidFinish(NSObject, EventHandler<UIAccessibilityAnnouncementFinishedEventArgs>)

Strongly typed notification for the AnnouncementDidFinishNotification constant.

ObserveAssistiveTechnologyKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.AssistiveTechnologyKeyNotification constant.

ObserveAssistiveTechnologyKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.AssistiveTechnologyKeyNotification constant.

ObserveAssistiveTouchStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTouchStatusDidChangeNotification constant.

ObserveAssistiveTouchStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the AssistiveTouchStatusDidChangeNotification constant.

ObserveBoldTextStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoldTextStatusDidChangeNotification constant.

ObserveBoldTextStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the BoldTextStatusDidChangeNotification constant.

ObserveClosedCaptioningStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ClosedCaptioningStatusDidChangeNotification constant.

ObserveClosedCaptioningStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ClosedCaptioningStatusDidChangeNotification constant.

ObserveDarkerSystemColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DarkerSystemColorsStatusDidChangeNotification constant.

ObserveDarkerSystemColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the DarkerSystemColorsStatusDidChangeNotification constant.

ObserveElementFocused(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ElementFocusedNotification constant.

ObserveElementFocused(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ElementFocusedNotification constant.

ObserveFocusedElementKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.FocusedElementKeyNotification constant.

ObserveFocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.FocusedElementKeyNotification constant.

ObserveGrayscaleStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GrayscaleStatusDidChangeNotification constant.

ObserveGrayscaleStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GrayscaleStatusDidChangeNotification constant.

ObserveGuidedAccessStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GuidedAccessStatusDidChangeNotification constant.

ObserveGuidedAccessStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the GuidedAccessStatusDidChangeNotification constant.

ObserveHearingDevicePairedEarDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HearingDevicePairedEarDidChangeNotification constant.

ObserveHearingDevicePairedEarDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the HearingDevicePairedEarDidChangeNotification constant.

ObserveInvertColorsStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InvertColorsStatusDidChangeNotification constant.

ObserveInvertColorsStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the InvertColorsStatusDidChangeNotification constant.

ObserveMonoAudioStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MonoAudioStatusDidChangeNotification constant.

ObserveMonoAudioStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the MonoAudioStatusDidChangeNotification constant.

ObserveReduceMotionStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceMotionStatusDidChangeNotification constant.

ObserveReduceMotionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceMotionStatusDidChangeNotification constant.

ObserveReduceTransparencyStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceTransparencyStatusDidChangeNotification constant.

ObserveReduceTransparencyStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ReduceTransparencyStatusDidChangeNotification constant.

ObserveShakeToUndoDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShakeToUndoDidChangeNotification constant.

ObserveShakeToUndoDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the ShakeToUndoDidChangeNotification constant.

ObserveSpeakScreenStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakScreenStatusDidChangeNotification constant.

ObserveSpeakScreenStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakScreenStatusDidChangeNotification constant.

ObserveSpeakSelectionStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakSelectionStatusDidChangeNotification constant.

ObserveSpeakSelectionStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SpeakSelectionStatusDidChangeNotification constant.

ObserveSwitchControlStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SwitchControlStatusDidChangeNotification constant.

ObserveSwitchControlStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the SwitchControlStatusDidChangeNotification constant.

ObserveUnfocusedElementKey(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.UnfocusedElementKeyNotification constant.

ObserveUnfocusedElementKey(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the P:UIKit.UIView.UnfocusedElementKeyNotification constant.

ObserveVoiceOverStatusDidChange(EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VoiceOverStatusDidChangeNotification constant.

ObserveVoiceOverStatusDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

Strongly typed notification for the VoiceOverStatusDidChangeNotification constant.

Applies to