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
|