---
title: textFormattingConfiguration
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextview/textformattingconfiguration
---

# textFormattingConfiguration

For text views that have flag allowsEditingTextAttributes set, this configuration will be used for UITextFormattingViewController when its presentation is requested.

## Declaration

```swift
@NSCopying var textFormattingConfiguration: UITextFormattingViewController.Configuration? { get set }
```

## Discussion

Discussion It has a non-nil default value.
