Instance Property

inputView

The custom input view to display when the receiver becomes the first responder.

Declaration

var inputView: UIView? { get }

Discussion

This property is typically used to provide a view to replace the system-supplied keyboard that is presented for UITextField and UITextView objects.

The value of this read-only property is nil. A responder object that requires a custom view to gather input from the user should redeclare this property as read-write and use it to manage its custom input view. When the receiver becomes the first responder, the responder infrastructure presents the specified input view automatically. Similarly, when the receiver resigns its first responder status, the responder infrastructure automatically dismisses the specified input view.

See Also

Managing Input Views

var inputViewController: UIInputViewController?

The custom input view controller to use when the receiver becomes the first responder.

var inputAccessoryView: UIView?

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

var inputAccessoryViewController: UIInputViewController?

The custom input accessory view controller to display when the receiver becomes the first responder.

func reloadInputViews()

Updates the custom input and accessory views when the object is the first responder.