Editar

Compartir a través de


UIDocument.RestoreUserActivityState(NSUserActivity) Method

Definition

Restores the state of the user activity.

[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

Parameters

activity
NSUserActivity

An action object that encapsulates a user activity.

Implements

Attributes

Remarks

This can be used from a background thread.

Applies to