Initializes and returns a ride driver object using a set of name components and other driver information
- iOS 10.0–10.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- watchOS 3.0–3.0Deprecated
A string containing information that your app uses to identify the driver. You might use an email address, phone number, account name, or any information that lets you identify the user uniquely.
The name of the driver, specified as a set of name components.
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 must specify all of the driver’s information at initialization time. You can’t change the values after initialization.