UIResponder.RestoreUserActivityState(NSUserActivity) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
还原持续运行指定用户活动所需的状态。
[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
要继续的用户活动。
实现
- 属性