<!--
{
  "availability" : [
    "iOS: 17.4.0 -",
    "iPadOS: 17.4.0 -",
    "macCatalyst: 17.4.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPLaneGuidance",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPLaneGuidance"
  },
  "title" : "CPLaneGuidance"
}
-->

# CPLaneGuidance

A class that provides information that describes the number of lanes on a roadway and navigation instruction variants.

```
class CPLaneGuidance
```

## Topics

### Properties

[`var instructionVariants: [String]`](/documentation/CarPlay/CPLaneGuidance/instructionVariants)

An array of strings that represent the instruction for this lane guidance, arranged from most- to least-preferred.

[`var lanes: [CPLane]`](/documentation/CarPlay/CPLaneGuidance/lanes)

An array of lane objects, each describing a single lane.

### Initializers

[`init?(coder: NSCoder)`](/documentation/CarPlay/CPLaneGuidance/init(coder:))

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)