---
title: maximumContentSizeCategory
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiview/maximumcontentsizecategory
---

# maximumContentSizeCategory

The maximum content size category for the view and its subviews.

## Declaration

```swift
var maximumContentSizeCategory: UIContentSizeCategory? { get set }
```

## Discussion

Discussion Use this property to limit which content size categories your view hierarchy supports. The limit applies immediately after you set this value and when future content size category updates occur. Set this property to nil to remove the maximum limit for the content size category.

## See Also

### Managing font-sizing preferences

- [minimumContentSizeCategory](uikit/uiview/minimumcontentsizecategory.md)
- [appliedContentSizeCategoryLimitsDescription](uikit/uiview/appliedcontentsizecategorylimitsdescription.md)
