Instance Property

userActivityForCancelingInApplication

A user activity object for canceling the ride request.

Declaration

var userActivityForCancelingInApplication: NSUserActivity? { get set }

Discussion

If the user asks to cancel a ride that hasn’t completed, the system checks the value of this property. If you provided an appropriate NSUserActivity object, the system launches your app and asks it to continue with that object. The object you provide should include the information your app needs to cancel the ride request.

Upon receiving this user activity object, your app should display a confirmation UI to the user asking them to confirm the cancellation request. If the user confirms the request, you may proceed to cancel the ride request.

The default value of this property is nil.

See Also

Providing User Activity Objects

var additionalActionActivities: [NSUserActivity]?

Additional activities that the user may choose to perform while the ride request is active.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software