---
title: CPMaximumNumberOfGridImages
framework: carplay
role: symbol
role_heading: Global Variable
path: carplay/cpmaximumnumberofgridimages
---

# CPMaximumNumberOfGridImages

The maximum number of images that an image row can contain.

## Declaration

```swift
let CPMaximumNumberOfGridImages: Int
```

## Discussion

Discussion At runtime, use this value to determine the total number of images that CarPlay allows in an image row. The list item may display fewer images, depending on the width of the vehicle’s primary screen.

## See Also

### Managing Content

- [text](carplay/cplistimagerowitem/text.md)
- [gridImages](carplay/cplistimagerowitem/gridimages.md)
- [update(_:)](carplay/cplistimagerowitem/update(_:).md)
- [maximumImageSize](carplay/cplistimagerowitem/maximumimagesize.md)
