Tells the delegate that the activity could not be continued.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Your shared app object.
The activity type that was attempted.
An error object indicating the reason for the failure.
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.