Post

Replies

Boosts

Views

Activity

Reply to printing with swiftui
@feldur Did you find a solution to this issue? I have exhausted my ability to Google over the last couple of days trying to solve the issue. In my case I have a view with a background Image + some text. The text prints fine on a nice clean background - no image! Print code:     @IBAction func print2(_ sender : Any){     		let printingView = self.window.contentView     		let printInfo = NSPrintInfo()     		let printOperation = NSPrintOperation(view: printingView!, printInfo: printInfo)     		printOperation.showsPrintPanel = true     		printOperation.showsProgressPanel = true     		printOperation.run()   } I am using latest version of Xcode Swift and SwiftUi
Jun ’20