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

# allowsHidingShortcuts

A Boolean value that indicates whether the user can hide the shortcuts bar.

```
var allowsHidingShortcuts: Bool { get set }
```

## Discussion

When the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the user may hide the shortcuts bar when the keyboard is visible. When the value is <doc://com.apple.documentation/documentation/Swift/false>, the shortcuts bar remains visible while the keyboard is visible. The default value of this property is <doc://com.apple.documentation/documentation/Swift/true>.

---

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)