Using the new SwiftUI App model, how can I set the items available on the Menu titled my app name (next to the Apple logo)?
Using the following
WindowGroup {
…
}
.commands {
CommandMenu("Menu Name") {
Button(action: {}) { Text("Menu Item") }
}
}
Will place menus after File, Edit and View. I wish to add an item to the menu titled my app name.