preferredResultOptions
The type of content you allow Writing Tools to generate for your custom text view.
Declaration
var preferredResultOptions: UIWritingToolsResultOptions { get set }Mentioned in
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.