Initializes and returns a ride driver object using a set of name components and other driver information.
- iOS 10.0–10.2Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.0–3.2Deprecated
A handle to use when identifying the driver.
The name of the driver, specified as a set of name components.
The name of the driver in a user-readable format. This string is displayed to the user by Siri or Maps.
A picture of the driver.
The driver’s rating. Strings should be short and informative. For example, you might specify the string “Good” or a string containing Unicode star (★, ☆) characters.
The driver’s phone number. The user should be able to contact the driver at this number to coordinate ride details.
An initialized driver object or
nil if the object could not be created.
You can’t change the driver information after initialization, so specify as much information as you have.