Contents

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