Possible Duplicate:
How can I create a PDF file programmatically in an iOS application?
I'm looking to create a pdf document in my iPad app, and email it after creation. The document will always have different size (also many pages size), because it should contain a set of table rows, every time in a different number.