I'm trying to use UIScrollView together with UIImageView to display a PDF with several pages. Problem is that only seems to render the first page of the PDF and nothing else.
Is this possible at all with UIScrollView + UIImageview?
I'm trying to use UIScrollView together with UIImageView to display a PDF with several pages. Problem is that only seems to render the first page of the PDF and nothing else.
Is this possible at all with UIScrollView + UIImageview?
Perhaps you can create as UIImageView in the UIScrollView as pages has the PDF, and then when you load the PDF page (you wold use something like CGPDFDocumentGetPage(document, pageNumber)
), just set the pageNumber to the number you want. You can know how many pages does the PDF document have with CGPDFDocumentGetNumberOfPages
.