NSNotificationCenter.DefaultCenter 属性

定义

默认通知中心、系统通知和系统级事件将发布到此通知中心。

public static Foundation.NSNotificationCenter DefaultCenter { [Foundation.Export("defaultCenter", ObjCRuntime.ArgumentSemantic.Strong)] get; }
member this.DefaultCenter : Foundation.NSNotificationCenter

属性值

属性

注解

NSNotificationCenter.DefaultCenter 在应用程序中起着核心作用,因为这是针对感兴趣的系统级事件发布系统通知的位置。

适用于