Instance Method


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


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



Your shared app object.


The requested activity type.

Return Value

true if you want to notify the user that a continuation is in progress or false if you want iOS to notify the user.


Use this method to provide immediate feedback to the user that an activity is about to continue on this device. The app calls this method as soon as the user confirms that an activity should be continued but possibly before the data associated with that activity is available.

Your implementation of this method should prepare to initiate the activity. If you notify the user as part of your preparations, return true from this method so that iOS does not also notify the user. If you do not implement this method or your implementation returns false, iOS notifes the user.

This method is not called if either application(_:willFinishLaunchingWithOptions:) or application(_:didFinishLaunchingWithOptions:) returns false.

See Also

Continuing User Activity and Handling Quick Actions

func application(UIApplication, didUpdate: NSUserActivity)

Tells the delegate that the activity was updated.

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.