Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 03-05-2010, 02:14 AM   #1 (permalink)
Kroupy
Developer & Translator
 
Kroupy's Avatar
 
Join Date: Dec 2008
Posts: 264
Question UIWebview for PDFs lagging

Hi

I'm loading a 50 pages 1.2 MByte PDF from the internet and saving it to the device. Then I'm loading the PDF from the device and show it inside a UIWebview.

It is lagging. When I scroll down more than 1.5 pages the page indicator (4 of 50) doesn't fade away as it should, the scroll motion stops, so no slowing down and it stays blurry. This all for about 3-6 seconds. And then it suddenly loads and everything's fine.

Same is for zooming. If I zoom, it just makes the same problems and after 5 seconds or so, it becomes clear and I can use it.

The PDF isn't large, so why is it lagging? It is only on the device, the simulator rocks perfectly.

Any suggestions? Is a Quartz PDF viewer faster? I have heard problems with the Quartz version concerning zoom...

How can I show this PDF without lag? Please help me!

Thank you very much
Kroupy is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,862
Threads: 89,223
Posts: 380,685
Top Poster: BrianSlick (7,129)
Welcome to our newest member, higgey
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 05:40 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.