---
title: keepsMenuPresented
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uimenuelement/attributes/keepsmenupresented
---

# keepsMenuPresented

An attribute indicating that the menu remains presented after firing the element’s action instead of dismissing.

## Declaration

```swift
static var keepsMenuPresented: UIMenuElement.Attributes { get }
```

## Discussion

Discussion Use this attribute to allow a person to perform a menu action multiple times without dismissing the menu in between. This attribute doesn’t have an effect if you build your app with Mac Catalyst.

## See Also

### Attributes

- [destructive](uikit/uimenuelement/attributes/destructive.md)
- [disabled](uikit/uimenuelement/attributes/disabled.md)
- [hidden](uikit/uimenuelement/attributes/hidden.md)
