Presents the iPhone printing user interface in a sheet that can be animated to slide up from the bottom of the screen.
- iOS 4.2+
- Mac Catalyst 13.0+
trueto animate the display of the sheet,
falseto display the sheet immediately.
A block of type
UIPrintthat you implement to handle the conclusion of the print job (for instance, to reset state) and to handle any errors encountered in printing.
Interaction Controller .Completion Handler
It is valid to call this method for applications on iPhone and iPod touch devices. Calling this method on an iPad with
animated set to
true causes the printing options view to animate from the window frame.
If you call this method when the printing options are already displayed,
UIPrint hides the printing-options sheet. You must call the method again to display the options.