---
title: UIInputView
framework: uikit
role: symbol
role_heading: Class
path: uikit/uiinputview
---

# UIInputView

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

## Declaration

```swift
@MainActor class UIInputView
```

## Overview

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. note: The effects offered by this class are applied only when the view is attached to a responder as either an input view or input accessory view. For subviews to receive style effects, they must conform to the UIAppearance protocol.

## Topics

### Initializing an input view

- [init(frame:inputViewStyle:)](uikit/uiinputview/init(frame:inputviewstyle:).md)
- [init(coder:)](uikit/uiinputview/init(coder:).md)

### Getting the input style

- [inputViewStyle](uikit/uiinputview/inputviewstyle.md)
- [UIInputView.Style](uikit/uiinputview/style.md)

### Sizing the input view

- [allowsSelfSizing](uikit/uiinputview/allowsselfsizing.md)

## Relationships

### Inherits From

- [UIView](uikit/uiview.md)

### Conforms To

- [CALayerDelegate](quartzcore/calayerdelegate.md)
- [CLBodyIdentifiable](corelocation/clbodyidentifiable.md)
- [CMBodyIdentifiable](coremotion/cmbodyidentifiable.md)
- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)
- [NSTouchBarProvider](appkit/nstouchbarprovider.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [UIAccessibilityIdentification](uikit/uiaccessibilityidentification.md)
- [UIActivityItemsConfigurationProviding](uikit/uiactivityitemsconfigurationproviding.md)
- [UIAppearance](uikit/uiappearance.md)
- [UIAppearanceContainer](uikit/uiappearancecontainer.md)
- [UICoordinateSpace](uikit/uicoordinatespace.md)
- [UIDynamicItem](uikit/uidynamicitem.md)
- [UIFocusEnvironment](uikit/uifocusenvironment.md)
- [UIFocusItem](uikit/uifocusitem.md)
- [UIFocusItemContainer](uikit/uifocusitemcontainer.md)
- [UILargeContentViewerItem](uikit/uilargecontentvieweritem.md)
- [UIPasteConfigurationSupporting](uikit/uipasteconfigurationsupporting.md)
- [UIPopoverPresentationControllerSourceItem](uikit/uipopoverpresentationcontrollersourceitem.md)
- [UIResponderStandardEditActions](uikit/uiresponderstandardeditactions.md)
- [UITraitChangeObservable](uikit/uitraitchangeobservable-67e94.md)
- [UITraitEnvironment](uikit/uitraitenvironment.md)
- [UIUserActivityRestoring](uikit/uiuseractivityrestoring.md)

## See Also

### Custom keyboards

- [Creating a custom keyboard](uikit/creating-a-custom-keyboard.md)
- [UIInputViewController](uikit/uiinputviewcontroller.md)
- [UILexicon](uikit/uilexicon.md)
- [UILexiconEntry](uikit/uilexiconentry.md)
- [UITextDocumentProxy](uikit/uitextdocumentproxy.md)
