Freigeben über


UIResponder.RestoreUserActivityState(NSUserActivity) Methode

Definition

Stellt den Zustand wieder her, der für die Fortsetzung der angegebenen Benutzeraktivität erforderlich ist.

[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

Parameter

activity
NSUserActivity

Benutzeraktivität, die fortgesetzt werden soll.

Implementiert

Attribute

Gilt für: