Overriding default Help menu in SwiftUI Mac App
import SwiftUI
@main
struct AppleWatchAlexaApp: App {
var body: some Scene {
WindowGroup {
ContentView()
.resizedonMacOS(widthPercent: 1)
}
.commands {
CommandGroup(replacing: .help) {
NavigationLink("Voice in a Can Help", destination:
WebView(url: URL(string: "https://voiceinacan.com/ios-faq/")!)
)
}
}
}
}