0

Currently if a user has created a stroke and shakes with the Apple Pencil and then shakes the iPad, a pop up saying 'Undo Added strokes" pops up. We want to remove this from the app for pencil kit. Currently, Apple's documentation suggests that we use applicationSupportsShakeToEdit however this does not have any impact on the desired result. Further we may want to support shake to undo in the future.

Is there any way we can disable the "Undo Added Strokes in iPadOS?

I expected that UIApplication.shared.applicationSupportsShakeToEdit = false would disable the functionality of shake to undo however this does not result in any change in app behaviour. I have also ensured that this is set with a breakpoint and the code is stepped over.

Osian
  • 171
  • 1
  • 14

0 Answers0