---
title: allowsHidingShortcuts
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitextinputassistantitem/allowshidingshortcuts
---

# allowsHidingShortcuts

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

## Declaration

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

## Discussion

Discussion When the value of this property is true, the user may hide the shortcuts bar when the keyboard is visible. When the value is false, the shortcuts bar remains visible while the keyboard is visible. The default value of this property is true.

## See Also

### Configuring the shortcuts bar

- [leadingBarButtonGroups](uikit/uitextinputassistantitem/leadingbarbuttongroups.md)
- [trailingBarButtonGroups](uikit/uitextinputassistantitem/trailingbarbuttongroups.md)
