Post not yet marked as solved
Post marked as unsolved with 4 replies, 4,155 views
I created a new macOS document-based app in Xcode Version 11.5 (11E608c), and modified ContentView to look like this: struct ContentView: View { var body: some View { ZStack { Circle() .foregroundColor(.red) .frame(width: 30, height: 30, alignment: .center) Text("Hello, World!") } .frame(maxWidth: .infinity, maxHeight: .infinity) } } I made no other changes other than to enable the print capability. The canvas and app itself look just as you'd expect. When I run File->Print, however, only the window, its frame, and the text show up in the print preview and on the printed page. The circle graphic is missing, even though the appropriate light/dark mode background is there. Is this a bug, or is there something else required to enable graphics to print from SwiftUI?