Instance Method

application:didFailToContinueUserActivityWithType:error:

Tells the delegate that the activity could not be continued.

Declaration

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

Parameters

application

The app that attempted to continue the activity.

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, AppKit displays an error to the user with an appropriate message about the reason for the failure.

See Also

Continuing User Activities

- application:willContinueUserActivityWithType:

Tells the delegate the user wants to continue an activity in your app.

- application:continueUserActivity:restorationHandler:

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

- application:didUpdateUserActivity:

Tells the delegate that the user activity object has been updated.