Creates an instance of this class that indicates the ride completed successfully but still requires feedback from the user.
- iOS 11.0+
- Mac Catalyst 13.0+
- watchOS 4.0+
The type of feedback you want from the user. You can ask the user to provide feedback on the driver, leave a tip, or both.
Use this method when the ride completed successfully and you want the user to provide a tip or feedback about the ride. This method sets the isCompleted and
outstanding properties of the returned object to
YES, and it sets the
missed properties to
NO. If you ask the user to specify a tip, assign values to the
default property representing proposed tip amounts.
If your Intents extension supports the
INSend, SiriKit delivers that intent when feedback from the last ride is still needed. If you don’t support the intent, you can still assign a value to the
completion property to allow the collection of feedback from your app.