Instance Property

additionalActionActivities

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

Declaration

var additionalActionActivities: [NSUserActivity]? { get set }

Discussion

If there are actions related to the ride that the user can take in your app, create user activity objects for each one and assign them to this property. For example, you might include actions to share the estimated arrival time with another user, split the fare with someone, or pay for the ride immediately. When you specify one or more actions, Maps displays buttons for each action. (Siri does not use this property). The title property of the corresponding NSUserActivity object provides the title of each button. If the user selects an action, Maps launches your app and passes the selected user activity object to it for handling.

See Also

Providing User Activity Objects

var userActivityForCancelingInApplication: NSUserActivity?

A user activity object for canceling the ride request.