UIApplication.LaunchOptionsLocalNotificationKey 属性

定义

LaunchOptionsLocalNot 的通知常量

[Foundation.Field("UIApplicationLaunchOptionsLocalNotificationKey", "UIKit")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public static Foundation.NSString LaunchOptionsLocalNotificationKey { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.DidReceiveNotificationResponse' instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.LaunchOptionsLocalNotificationKey : Foundation.NSString

属性值

NSString 常量应用作 NSNotificationCenter 的令牌。

属性

注解

此键的值将是实例 UILocalNotification

如果已传递本地通知且应用程序未运行,则启动选项中会显示此密钥。

此密钥与 NSDictionary 传递给 M:UIKit.UIApplicationDelegate.FinishedLaunching (UIKit.UIApplication、Foundation.NSDictionary)

适用于