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.

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