Initializes and returns a ride driver object using a set of name components and other driver information.
- iOS 10.2+
- Mac Catalyst 13.0+Beta
- watchOS 3.2+
The driver’s phone number. The user should be able to contact the driver at this number to coordinate ride details.
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.
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.