---
title: preferredResultOptions
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiwritingtoolscoordinator/preferredresultoptions
---

# preferredResultOptions

The type of content you allow Writing Tools to generate for your custom text view.

## Declaration

```swift
var preferredResultOptions: UIWritingToolsResultOptions { get set }
```

## Mentioned in

Adding Writing Tools support to a custom UIKit view

## Discussion

Discussion Writing Tools can create plain text or rich text, and it can format text using lists or tables as needed. If your view doesn’t support specific types of content, specify the types you do support in this property. The default value of this property is UIWritingToolsResultOptions/default, which lets the system determine the type of content to generate.

## See Also

### Configuring the experience

- [preferredBehavior](uikit/uiwritingtoolscoordinator/preferredbehavior.md)
- [behavior](uikit/uiwritingtoolscoordinator/behavior.md)
- [resultOptions](uikit/uiwritingtoolscoordinator/resultoptions.md)
