Hello all,
I have a SwiftUI app which can view some document formats, but not create new ones.
I would like to disable the File > New menu item as it is not needed.
I see you can use CommandGroup(replacing: .newItem){}
to do this, however then I lose both the Open and Open Recent menu items as well.
Is it possible to either remove only the New item from the File menu?
Or perhaps remove all three then manually add back the Open item?
Any advice would be gratefully received.
Thank you.