mardi 17 mars 2015

Stitching two NSData objects (PDFs) together


Vote count:

0




I want to take two PDFs (stored as NSData) objects that are rendered separately and "stitch" them together.


One of the objects is created from a UITableView's contents using this solution, the other is basically a screen grab of another view.


Basically, I want to take the "header" view PDF and have it be on top of the PDF generated from the UITableView.


My best guess was to render the "header" and then render the UITableView, and put them into an NSMutableData object but this does not seem to be working. The final NSData object is the correct size ("header view" bytes + table's bytes) but it's not a PDF.



asked 25 secs ago







Stitching two NSData objects (PDFs) together

Aucun commentaire:

Enregistrer un commentaire