次の方法で共有


UIWindow.Notifications クラス

定義

クラスによって UIWindow 投稿された通知。

public static class UIWindow.Notifications
type UIWindow.Notifications = class
継承
UIWindow.Notifications

注釈

これは、開発者が iOS 通知ハブ (NSNotificationCenter) に投稿されたイベントを観察できるようにするさまざまなヘルパー メソッドを含む静的クラスです。

このクラスのポスト イベントで定義されているメソッドは、通知引数の厳密に型指定されたプロパティを含むパラメーターを NSNotificationEventArgs 使用して、指定されたメソッドまたはラムダを呼び出します。

メソッド

ObserveDidBecomeHidden(EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeHiddenNotification 厳密に型指定された通知。

ObserveDidBecomeHidden(NSObject, EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeHiddenNotification 厳密に型指定された通知。

ObserveDidBecomeKey(EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeKeyNotification 厳密に型指定された通知。

ObserveDidBecomeKey(NSObject, EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeKeyNotification 厳密に型指定された通知。

ObserveDidBecomeVisible(EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeVisibleNotification 厳密に型指定された通知。

ObserveDidBecomeVisible(NSObject, EventHandler<NSNotificationEventArgs>)

定数に対して DidBecomeVisibleNotification 厳密に型指定された通知。

ObserveDidResignKey(EventHandler<NSNotificationEventArgs>)

定数に対して DidResignKeyNotification 厳密に型指定された通知。

ObserveDidResignKey(NSObject, EventHandler<NSNotificationEventArgs>)

定数に対して DidResignKeyNotification 厳密に型指定された通知。

適用対象