---
title: allowsEditingTextAttributes
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextview/allowseditingtextattributes
---

# allowsEditingTextAttributes

A Boolean value that indicates whether the text view allows the user to edit style information.

## Declaration

```swift
var allowsEditingTextAttributes: Bool { get set }
```

## Discussion

Discussion When set to true, the text view allows the user to change the basic styling of the currently selected text. The available style options are listed in the edit menu and only apply to the selection. The default value of this property is false.

## See Also

### Managing the editing behavior

- [isEditable](uikit/uitextview/iseditable.md)
- [textDidBeginEditingNotification](uikit/uitextview/textdidbegineditingnotification.md)
- [textDidChangeNotification](uikit/uitextview/textdidchangenotification.md)
- [textDidEndEditingNotification](uikit/uitextview/textdidendeditingnotification.md)
