Instance Method

userActivityWillSave(_:)

Notifies the delegate that the user activity will be saved to be continued or persisted.

Declaration

optional func userActivityWillSave(_ userActivity: NSUserActivity)

Parameters

userActivity

The user activity to update.

Discussion

The delegate overrides this method to update the activity with current state.

See Also

Managing Activity Continuation

func userActivityWasContinued(NSUserActivity)

Notifies the delegate that the user activity was continued on another device.