Contents

scene(_:didFailToContinueUserActivityWithType:error:)

Tells the delegate that the activity couldn’t be continued.

Declaration

optional func scene(_ scene: UIScene, didFailToContinueUserActivityWithType userActivityType: String, error: any Error)

Parameters

  • scene:

    The scene handling the activity.

  • userActivityType:

    The type of the activity that failed.

  • error:

    An error object indicating the reason for the failure.

Discussion

Use this method to let the user know that the specified activity couldn’t be completed. If you don’t implement this method, UIKit displays an error to the user with an appropriate message about the reason for the failure.

See Also

Continuing user activities