Hi All,

I have a few questions about rendering PDFs and wondered if anyone here could help.

I've inherited some code that tiles the PDF, I think this code was based on one of the Apple Sample Apps from a while back.

I'm rendering a PDF on an iPad, it's a magazine with lots of text and obviously we'd like to run as fast possible, one thing that gives an impression of "slowness" is the fact that it renders from bottom up, so my first question, is there anyway I can make to render top down? The idea is that when a user is presented with a page, that naturally start reading from the top down, and since it's just a blur when initially rendered it makes the experience less than pleasing.

The next thing is that I remember seeing some an article with some sample code somewhere that altered the rendering parameters depending on the type of iPad being used, e.g. iPad1, 2 or 3 (it probably handling iPhone too, but I don't need to do that), but I can't for the life of me find the exact article I read. I have found some code on StackOverflow but doesn't seem complete. So if anyone could point me to a some sample code that optimizes for the type of device or documentation that explains what needs to be done, I'd be really grateful.

Thanks in advance
Cheers
Dave


_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to