共用方式為


NSFileManager.Notifications 類別

定義

類別所張貼的 NSFileManager 通知。

public static class NSFileManager.Notifications
type NSFileManager.Notifications = class
繼承
NSFileManager.Notifications

備註

這是靜態類別,其中包含各種協助程式方法,可讓開發人員觀察張貼在 iOS 通知中樞的事件 (NSNotificationCenter) 。

這個類別中定義的方法會在事件後叫用提供的 方法或 Lambda,其中包含 NSNotificationEventArgs 通知引數的強型別屬性。

方法

ObserveUbiquityIdentityDidChange(EventHandler<NSNotificationEventArgs>)

常數的 UbiquityIdentityDidChangeNotification 強型別通知。

ObserveUbiquityIdentityDidChange(NSObject, EventHandler<NSNotificationEventArgs>)

常數的 UbiquityIdentityDidChangeNotification 強型別通知。

適用於