I found this link that describes how to add content to the PDF. So as I understood right the pages will be generated based on input NSString. So the count of pages depends on the length of the string.
I need to implement the same but with the images. So for example I have 10 images, and all of them will be places on by one on each page. Like first image on the first page, second images on the second page and etc.
I found also this library that can generate PDF files but seems I don't have chance to set count of pages. Is there any good solution how to implement it?