UIPrintInteractionControllerDelegate
An optional set of methods that the delegate of the shared print-interaction controller implements.
Declaration
@MainActor protocol UIPrintInteractionControllerDelegate : NSObjectProtocolOverview
If the application has special requirements for content sizes, it can implement printInteractionController(_:choosePaper:) to return a UIPrintPaper object encapsulating the page size and the printing area to use for a print job. If you want more control of the presentation of the printing options, the delegate can return a view controller that owns the printing-options view in an implementation of printInteractionControllerParentViewController(_:). The delegate can also implement methods that are invoked when the printing user interface is presented and when it is dismissed, and when the print job begins and ends.
Topics
Returning a Parent View Controller
Choosing a Paper Size for the Print Job
printInteractionController(_:choosePaper:)printInteractionController(_:cutLengthFor:)printInteractionController(_:chooseCutterBehavior:)
Responding to the Presentation and Dismissal of the Printing Interface
printInteractionControllerWillPresentPrinterOptions(_:)printInteractionControllerDidPresentPrinterOptions(_:)printInteractionControllerWillDismissPrinterOptions(_:)printInteractionControllerDidDismissPrinterOptions(_:)