Instance Property


A user activity object for canceling the ride request.


@property(readwrite, strong, nonatomic) NSUserActivity *userActivityForCancelingInApplication;


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


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