Asks the delegate for an object encapsulating the paper size and printing area to use for the print job.
SDKs
- iOS 4.2+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
- (UIPrint Paper *)printInteractionController:(UIPrint Interaction Controller *)printInteractionController choosePaper:(NSArray<UIPrint Paper *> *)paperList;
Parameters
printInteractionController
The shared instance of
UIPrint
that is managing the print job.Interaction Controller paperList
An array of
UIPrint
objects that represent combinations of paper sizes and imageable areas supported by the selected printer.Paper
Return Value
A UIPrint
object representing both the paper size and imageable area (or printable rectangle) to use for the print job.
Discussion
This method is intended for apps (typically document-based apps) that have a notion of distinct paper sizes. The delegate can examine the objects in paper
to locate the paper size and printable rectangle combination that is best suited for its needs and return the encapsulating UIPrint
object. Or it can call the best
class method of the UIPrint
class, passing in a specific page size (typically the document size), and return the object returned by that method.