UIApplication.LaunchOptionsLocalNotificationKey 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
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)