How to remove default menu items for macOS app using SwiftUI and SwiftUI lifecycle?

Viewed 66

One can add a menu item using commands(content:), however, is there a way to remove the default menu items. In the case below, File, Edit, View, Window, and Help?

var body: some Scene {
    WindowGroup {
        ContentView()
    }
    .commands {
        CommandMenu("TEST") {}
    }
}

enter image description here

0 Answers
Related