<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UISearchBar/inputAccessoryView",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UISearchBar(py)inputAccessoryView"
  },
  "title" : "inputAccessoryView"
}
-->

# inputAccessoryView

A custom input accessory view for the keyboard of the search bar.

```
var inputAccessoryView: UIView? { get set }
```

## Discussion

The default value is `nil`. When non-`nil`, this property represents a custom input accessory view that will be placed onto the search bar’s system-supplied keyboard.

---

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)