共用方式為


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 傳遞至 (UIKit.UIApplication、Foundation.NSDictionary)

適用於