<!--
{
  "availability" : [
    "iOS: 10.0.0 - 10.2.0",
    "iPadOS: 10.0.0 - 10.2.0",
    "macCatalyst: 13.1.0 - 13.1.0",
    "visionOS: 1.0.0 - 1.0.0",
    "watchOS: 3.0.0 - 3.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "SiriKit",
  "identifier" : "/documentation/Intents/INRideDriver/init(personHandle:nameComponents:displayName:image:rating:phoneNumber:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "Intents"
    ],
    "preciseIdentifier" : "c:objc(cs)INRideDriver(im)initWithPersonHandle:nameComponents:displayName:image:rating:phoneNumber:"
  },
  "title" : "init(personHandle:nameComponents:displayName:image:rating:phoneNumber:)"
}
-->

# init(personHandle:nameComponents:displayName:image:rating:phoneNumber:)

Initializes and returns a ride driver object using a set of name components and other driver information.

```
convenience init(personHandle: INPersonHandle, nameComponents: PersonNameComponents?, displayName: String?, image: INImage?, rating: String?, phoneNumber: String?)
```

## Parameters

`personHandle`

A handle to use when identifying the driver.

`nameComponents`

The name of the driver, specified as a set of name components.

`displayName`

The name of the driver in a user-readable format. This string is displayed to the user by Siri or Maps.

`image`

A picture of the driver.

`rating`

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.

`phoneNumber`

The driver’s phone number. The user should be able to contact the driver at this number to coordinate ride details.

## Return Value

An initialized driver object or `nil` if the object could not be created.

## Discussion

You can’t change the driver information after initialization, so specify as much information as you have.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)