I'm stumped on how to add an undo keyboard shortcut on iPad. I'm using the environment's UndoManager. On the Mac, Undo appears in the Edit menu and "just works”.

I tried adding my own button, but UIKit throws a messaging saying it's duplicate, so I assume there is one but it's hidden?

Any ideas would be very much appreciated!

@phill Is the duplicate message because the standard iPad keyboard includes undo/redo buttons?

Follow

@marksmith yeah I wondered that too, but even without a keyboard presented/connected it still complains. I thought maybe TextEditingCommands() was adding some, but it doesn’t look like it. Perplexing!

Sign in to participate in the conversation
The Not So Big Company

The home of The Not So Big Company on Mastodon.