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

# init(image:title:subtitle:)

Initialize an element that is constituted of an image, title and subtitle. Only image is required while the two others can be omitted.

```
init(image: UIImage, title: String?, subtitle: String?)
```

## Parameters

`image`

The image associated to the element.

`title`

The title of the element.

`subtitle`

The subtitle of the element.

## Discussion

When providing an image, your app should provide a @c UIImage that is display-ready. If necessary for the image, provide
light and dark styles by using an asset from your asset catalog, prepared with light and dark styles
or by using @c UIImageAsset to combine two @c UIImage instances into a single image with
both styles.

UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage.

\note The expected image size is given by +[CPListImageRowItemRowElement maximumImageSize]. Images provided will be resized to this size if necessary.
\discussion To properly size your images, your app should size them to the display scale of the car screen.
See -[CPInterfaceController carTraitCollection].

---

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)