---
title: applicationSupportsShakeToEdit
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uiapplication/applicationsupportsshaketoedit
---

# applicationSupportsShakeToEdit

A Boolean value that determines whether shaking the device displays the undo-redo user interface.

## Declaration

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

## Discussion

Discussion The default value is true. Set the property to false if you don’t want your app to display the Undo and Redo buttons when users shake the device.

## See Also

### Controlling and handling events

- [sendEvent(_:)](uikit/uiapplication/sendevent(_:).md)
- [sendAction(_:to:from:for:)](uikit/uiapplication/sendaction(_:to:from:for:).md)
