Bearbeiten

Freigeben über


NSProcessInfo.EndActivity(NSObject) Method

Definition

Ends an activity. Long-running activities may degrade battery life or system responsiveness.

[Foundation.Export("endActivity:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void EndActivity (Foundation.NSObject activity);
abstract member EndActivity : Foundation.NSObject -> unit
override this.EndActivity : Foundation.NSObject -> unit

Parameters

activity
NSObject
Attributes

Applies to