---
title: preferredContentSizeCategory
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitraitcollection/preferredcontentsizecategory
---

# preferredContentSizeCategory

The font sizing option preferred by the user.

## Declaration

```swift
var preferredContentSizeCategory: UIContentSizeCategory { get }
```

## Discussion

Discussion With Dynamic Type, users can ask that apps display text using fonts that are larger or smaller than the normal font size defined by the system. For example, a user with a visual impairment might request a larger default font size to make it easier to read text. Use the value of this property to request a UIFont object that matches the user’s requested size.

## See Also

### Retrieving content size category information

- [UIContentSizeCategory](uikit/uicontentsizecategory.md)
