Instance Property

printPageRenderer

An object that draws pages of printable content when requested by UIKit.

Declaration

@property(nonatomic, strong) UIPrintPageRenderer *printPageRenderer;

Discussion

The object assigned to this property must be an instance of a custom subclass of UIPrintPageRenderer. The UIPrintInteractionController class retains the page-renderer object and releases it at the end of the print job. The default value is nil.

If you set this property, UIPrintInteractionController sets the printingItems, printingItem, printFormatter properties to nil. (Only one of these properties can be set for a print job.)

If this property is set and the showsPageRange property is set to YES—and the rendered content is greater than one page—the printing options include the control for selecting a page range.

See Also

Providing the Source of Printable Content

printingItem

A single ready-to-print object.

printingItems

An array of ready-to-print objects.

printFormatter

An object that lays out the content of pages based on the kind of content.