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.