<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIInputView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIInputView"
  },
  "title" : "UIInputView"
}
-->

# UIInputView

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

```
@MainActor class UIInputView
```

## Overview

The [`UIInputView`](/documentation/UIKit/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`](/documentation/UIKit/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 ``doc://com.apple.uikit/documentation/UIKit/UIAppearance`` protocol.

## Topics

### Initializing an input view

[`-  initWithFrame:inputViewStyle:`](/documentation/UIKit/UIInputView/init(frame:inputViewStyle:))

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

[`-  initWithCoder:`](/documentation/UIKit/UIInputView/init(coder:))

Creates an input view from data in an unarchiver.

### Getting the input style

[`inputViewStyle`](/documentation/UIKit/UIInputView/inputViewStyle)

The style for the content of the view.

[`Style`](/documentation/UIKit/UIInputView/Style)

Constants that indicate the appearance changes for an input view.

### Sizing the input view

[`allowsSelfSizing`](/documentation/UIKit/UIInputView/allowsSelfSizing)

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

## Relationships

### Conforms To

[`NSCoding`](/documentation/Foundation/NSCoding)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`Sendable`](/documentation/Swift/Sendable)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`CVarArg`](/documentation/Swift/CVarArg)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`Hashable`](/documentation/Swift/Hashable)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`NSTouchBarProvider`](/documentation/AppKit/NSTouchBarProvider)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`Equatable`](/documentation/Swift/Equatable)

### Inherits From

[`UIView`](/documentation/UIKit/UIView)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)