---
title: inputAccessoryView
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextview/inputaccessoryview
---

# inputAccessoryView

The custom accessory view to display when the text view becomes the first responder.

## Declaration

```swift
var inputAccessoryView: UIView? { get set }
```

## Discussion

Discussion The default value of this property is nil. Assigning a view to this property causes that view to be displayed above the standard system keyboard (or above the custom input view if one is provided) when the text view becomes the first responder. For example, you could use this property to attach a custom toolbar to the keyboard.

## See Also

### Replacing the system input views

- [inputView](uikit/uitextview/inputview.md)
