I have question about view for displaying multipage PDFs in my app. I have found solutions with webview but they lack ability to zoom and scroll between pages horizontally. Also
Update: 04 Feb 2012
Check out this project, it's opensource and very well made:
Project:
http://www.vfr.org/
Source:
https://github.com/vfr/Reader
Checkout this sample code from Apple:
http://developer.apple.com/library/ios/samplecode/ZoomingPDFViewer/Introduction/Intro.html
It tells you how to efficiently display and zoom PDF documents.
For paging, see this link:
http://www.random-ideas.net/posts/42
Between the two of those you should be all set.
I can't give you the answer, but i can redirect you to a example project that is able to load and render a multipage pdf page by page.
To be honest this application it's manly on the iBook curl effect (forget it, it's a private API, no way) but inside there is a class that render on a view a pdf page, I'm sure that if you play a little with that code, CGAffineTransformMakeScale
, CGAffineTransformMakeTranslation
and touch control you will be able to obtain that effect.
Link to the project:
http://blog.steventroughtonsmith.com/2010/02/apples-ibooks-dynamic-page-curl.html