---
title: sourceAndRulesOnly
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avplayeritemlegibleoutput/textstylingresolution-swift.struct/sourceandrulesonly
---

# sourceAndRulesOnly

The level of resolution excludes styling provided by the user-level Media Accessibility settings.

## Declaration

```swift
static let sourceAndRulesOnly: AVPlayerItemLegibleOutput.TextStylingResolution
```

## Discussion

Discussion You typically use this option to override the styling specified in source media. When overriding the styling, you are strongly encouraged to allow your custom styling in turn to be overridden by user preferences for text styling that are available as Media Accessibility settings. See Media Accessibility Function for more information.

## See Also

### Text styling options

- [default](avfoundation/avplayeritemlegibleoutput/textstylingresolution-swift.struct/default.md)
