- Sonoma 14.4.1 (did not test on 14.4)
- Xcode 15.3
- New Project
- macOS
- Document App
- Run
- View menu has "Enter Full Screen"
- Do Command-N
- View menu does not have "Enter Full Screen"
- May need to open and close a few windows.
import SwiftUI
@main
struct testApp: App {
var body: some Scene {
DocumentGroup(newDocument: testDocument()) { file in
ContentView(document: file.$document)
}
.commands {
CommandGroup(replacing: CommandGroupPlacement.saveItem) {
}
}
}
}
- File menu
- Open Recent becomes NSMenuItem