<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CarPlay",
  "identifier" : "/documentation/CarPlay/CPInformationItem/init(title:detail:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CarPlay"
    ],
    "preciseIdentifier" : "c:objc(cs)CPInformationItem(im)initWithTitle:detail:"
  },
  "title" : "init(title:detail:)"
}
-->

# init(title:detail:)

Creates an information item with a title and detail text.

```
init(title: String?, detail: String?)
```

## Parameters

`title`

The text that the template displays as the item’s title.

`detail`

The text that the template displays below or beside the title, depending on the template’s layout. See [`CPInformationTemplateLayout`](/documentation/CarPlay/CPInformationTemplateLayout) for more information.

---

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)