Instance Method

application:didFailToContinueUserActivityWithType:error:

Tells the delegate that the activity could not be continued.

Declaration

- (void)application:(UIApplication *)application didFailToContinueUserActivityWithType:(NSString *)userActivityType error:(NSError *)error;

Parameters

application

Your shared app object.

userActivityType

The activity type that was attempted.

error

An error object indicating the reason for the failure.

Discussion

Use this method to let the user know that the specified activity could not be continued. If you do not implement this method, UIKit displays an error to the user with an appropriate message about the reason for the failure.

This method is not called if either application:willFinishLaunchingWithOptions: or application:didFinishLaunchingWithOptions: returns NO.

See Also

Continuing User Activity and Handling Quick Actions

- application:willContinueUserActivityWithType:

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

- application:continueUserActivity:restorationHandler:

Tells the delegate that the data for continuing an activity is available.

- application:didUpdateUserActivity:

Tells the delegate that the activity was updated.

- application:performActionForShortcutItem:completionHandler:

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