INIntentResponse.UserActivity 属性

定义

获取 NSUserActivity 启动应用时使用的 。

public virtual Foundation.NSUserActivity UserActivity { [Foundation.Export("userActivity", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 5, 0, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setUserActivity:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.UserActivity : Foundation.NSUserActivity with get, set

属性值

(即将推出有关此节点的更多文档)

此值可为 null

属性

适用于