Get Updates By E-mail 

Article Written By:
Johann Dowa

Tutorial: Using The UIPrintInteractionController To Print Content With Proper Formatting

  •  
  •  
  •  
  •  
  •  

More and more apps are adding a print feature, and here’s a nice in-depth guide by Nate Cook on using the UIPrintInteractionController API to print content exactly as desired.

In the guide Nate shows:

How to perform the basic printer job setup using UIPrintInfo, printing already formatted content with UIPrintItem
Printing already formatted items with printItem, creating a basic UIPrintFormatter and formatting your content
Using UIPageRenderer to print an item with complete control
Setting up a UIPrintPickerController to present an in-app UI for printing in iOS 8

You can find the guide over on the NSHipster blog.

A nice guide for those looking to add a printing feature within their apps


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments