An object that displays and manages custom input for a view when that view becomes the first responder.


class UIInputView : UIView


The UIInputView class is designed to match the appearance of the standard system keyboard when used as an input view with a responder. When defining your own custom input views or input accessory views, you can use a UIInputView object as the root view and add any subviews you want to create your input view. The input view and its subviews receive tinting and blur effects based on the options you specify at initialization time.


Initializing an Input View

init(frame: CGRect, inputViewStyle: UIInputView.Style)

Initializes and returns an input view using the specified style information.

Getting the Input Style

var inputViewStyle: UIInputView.Style

The style applied to the content of the view.

enum UIInputView.Style

Constants that indicate the appearance changes to make to an input view.

Sizing the Input View

var allowsSelfSizing: Bool

A Boolean value indicating whether the input view is responsible for its own size.