An object that draws pages of printable content when requested by UIKit.
SDKs
- iOS 4.2+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var printPageRenderer: UIPrint Page Renderer? { get set }
Discussion
The object assigned to this property must be an instance of a custom subclass of UIPrint
. The UIPrint
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, UIPrint
sets the printing
, printing
, print
properties to nil
. (Only one of these properties can be set for a print job.)
If this property is set and the shows
property is set to true
—and the rendered content is greater than one page—the printing options include the control for selecting a page range.