Friday, December 2, 2022
HomeIOS Developmentios - Printing PDF at URL in SwiftUI

ios – Printing PDF at URL in SwiftUI


I’ve a Button in a SwiftUI that generates a PDF report, saves it within the short-term folder and returns the URL it is at.

I’ve been making an attempt to print this doc utilizing a UIPrintInteractionController inside a UIViewControllerRepresentable, checked a number of variations i’ve seen on-line, all with combined outcome

Is not there a local manner in SwiftUI to print a doc?

if not, any tips that could a how-to / tutorial on utilizing UIPrintInteractionController in swiftui?

app targets iOS16 / SwiftUI 4

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments