iPadOS 26 Menu Bar - Copy / Paste

How to Support Menu Bar Copy/Paste/Cut/Delete Commands on iPadOS with SwiftUI?

(Xcode 26 beta 4, iPadOS 26 beta 4)

We’re working on adding menu bar support to our SwiftUI app on iPadOS, aiming to provide a more consistent and productive experience across platforms.

However, we’ve encountered a challenge when trying to handle standard editing commands like Copy, Cut, Paste, and Delete from the menu bar:

  • On iPadOS, SwiftUI modifiers such as onCopyCommand, onCutCommand, onPasteCommand, and onDeleteCommand appear to be unavailable.
  • Additionally, since we can’t hide or override the default app menus, we’re unsure how to hook into or replace their behavior effectively.

Question:

What’s the recommended way to support standard editing actions like copy/paste via the menu bar in SwiftUI on iPadOS? Are there any workarounds or APIs we might have overlooked?

Any guidance or best practices would be greatly appreciated!

Feedback ID: FB18792279

Um, just curious, I saw like 4 different versions of this post? What's the goal there?

iPadOS 26 Menu Bar - Copy / Paste
 
 
Q