Instance Method


Marks this activity object as inactive without invalidating it.


func resignCurrent()


Calling this method marks the user activity as no longer current, but does not invalidate it entirely. You can call this method when you want to stop advertising the activity for continuation and search indexing only temporarily. You may call becomeCurrent() later to restore this object as the current activity.

See Also

Registering and Invalidating User Activities

func becomeCurrent()

Marks the activity as currently in use by the user.

func invalidate()

Invalidates an activity and marks it as no longer eligible for continuation.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software