Instance Property

phoneNumber

The driver’s phone number.

Declaration

var phoneNumber: String? { get }

Discussion

When displaying information about the driver, the system displays the provided string as-is and does not try to format it. You are responsible for formatting the phone number appropriately for the user’s locale.

See Also

Getting the Driver Information

var rating: String?

The driver’s current rating.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software