<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPInterfaceController/carTraitCollection",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPInterfaceController(py)carTraitCollection"
  },
  "title" : "carTraitCollection"
}
-->

# carTraitCollection

The trait collection of the vehicle’s primary screen.

```
var carTraitCollection: UITraitCollection { get }
```

## Discussion

Use this trait collection to derive metrics, such as display scale, for your CarPlay templates. For example, images you display in a [`CPListTemplate`](/documentation/CarPlay/CPListTemplate) can use this trait collection’s display scale rather than the scale of the user’s iPhone screen.

---

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)