Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate PDF from html file on iPhone

In my iPhone application I'm generating an HTML file. I would like to convert that HTML file to a PDF file programatically. The PDF will then be attached to an email.

Does anyone know (have an example) how to convert the HTML file to a PDF?

like image 990
Justin Kredible Avatar asked Oct 31 '09 15:10

Justin Kredible


People also ask

Can you make a file a PDF on iPhone?

On your iPhone:Open PDF Expert and tap the blue plus sign. Tap Create PDF from File. Select the file you wish to convert and tap Create.


1 Answers

maybe you should start from here: http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_pdf/dq_pdf.html

like image 108
Jack Avatar answered Nov 05 '22 05:11

Jack