Returns a print formatter for the receiving view.
- iOS 4.2+
- Mac Catalyst 13.0+
UIView object or
nil if the object could not be created. If it is successfully created, the returned object is automatically associated with this view.
When initiating a print job, you can call this method to obtain an appropriate view print formatter object for your view. You can use the formatter object to configure the page layout options for your view during printing. Each time you call this method, you get a unique view print formatter object.
For more information about how to use print formatters to configure the printing behavior of your view, see Drawing and Printing Guide for iOS.