---
title: maximumRating
framework: carplay
role: symbol
role_heading: Instance Property
path: carplay/cpinformationratingitem/maximumrating
---

# maximumRating

The maximum rating that the template displays.

## Declaration

```swift
var maximumRating: NSNumber? { get }
```

## Discussion

Discussion This property is an NSNumber that contains a value in the range of 1 to 5. The value is a whole number.

## See Also

### Accessing the Item’s Attributes

- [rating](carplay/cpinformationratingitem/rating.md)
