Paging a UIScrollView with a large PDF

Posted by Fousa on Stack Overflow See other posts from Stack Overflow or by Fousa
Published on 2011-01-06T21:26:36Z Indexed on 2011/01/06 21:54 UTC
Read the original article Hit count: 218

Filed under:
|

I try to create a simple UIScrollView with paging. And I want to be able to scroll through a large PDF document, but this gives me some problems...

I tried the following options:

  • Convert all the PDF pages to UIImages at startup, this works, but is very slow on start
  • Manually drawing the PDF page in the drawRect, but yet again this was slow...

And I prefer not to load everything at startup but to do it during the usage.

Did anyone did this recently? Can't seem to find a nice example project.

Thnx!

Jelle

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ipad