Class

UIInputView

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

Overview

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.

Topics

Initializing an Input View

init(frame: CGRect, inputViewStyle: UIInputViewStyle)

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

Getting the Input Style

var inputViewStyle: UIInputViewStyle

The style applied to the content of the view.

enum UIInputViewStyle

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.