Instance Method


Tells the delegate that the activity was updated.


optional func application(_ application: UIApplication, didUpdate userActivity: NSUserActivity)



Your shared app object.


The activity object containing the data associated with the task the user was performing.


This method is called on the main thread when a user activity managed by UIKit has been updated. You can implement this method as a final opportunity to add data to the user activity object.

See Also

Continuing User Activity and Handling Quick Actions

func application(UIApplication, willContinueUserActivityWithType: String) -> Bool

Tells the delegate if your app takes responsibility for notifying users when a continuation activity takes longer than expected.

func application(UIApplication, performActionFor: UIApplicationShortcutItem, completionHandler: (Bool) -> Void)

Called when the user selects a Home screen quick action for your app, except when you’ve intercepted the interaction in a launch method.