Contents

inputAccessoryView

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

Declaration

var inputAccessoryView: UIView? { get set }

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 field 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