Printing a PDF File
Printing works like before straightforward following the instructions of the documentation at Apple. Start by obtaining a printing controller and check if printing is available at all:
1 2 3 4 | UIPrintInteractionController *pic = [UIPrintInteractionController sharedPrintController]; if (pic && [UIPrintInteractionController canPrintData:pdfDataWeWantToPrint] ) { // we should be able to print } |
Continue reading “Lessons learned from eaGeier #3”