UIResponder.RestoreUserActivityState(NSUserActivity) 方法

定义

还原持续运行指定用户活动所需的状态。

[Foundation.Export("restoreUserActivityState:")]
[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.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void RestoreUserActivityState (Foundation.NSUserActivity activity);
abstract member RestoreUserActivityState : Foundation.NSUserActivity -> unit
override this.RestoreUserActivityState : Foundation.NSUserActivity -> unit

参数

activity
NSUserActivity

要继续的用户活动。

实现

属性

适用于