IUIUserActivityRestoring.RestoreUserActivityState(NSUserActivity) 方法

定义

[Foundation.Export("restoreUserActivityState:")]
[Foundation.Preserve(Conditional=true)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public void RestoreUserActivityState (Foundation.NSUserActivity activity);
abstract member RestoreUserActivityState : Foundation.NSUserActivity -> unit

参数

activity
NSUserActivity
属性

适用于