UNMutableNotificationContent.LaunchImageName 属性

定义

获取或设置存储在应用程序捆绑包中,当用户从通知启动应用程序时要显示的图像的名称。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual string LaunchImageName { [Foundation.Export("launchImageName")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)] get; [Foundation.Export("setLaunchImageName:")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.MacOSX, ObjCRuntime.PlatformArchitecture.All, null)] set; }
member this.LaunchImageName : string with get, set

属性值

存储在应用程序捆绑包中,当用户从通知启动应用程序时要显示的图像的名称。

属性

适用于