Alex Rivera | Logout

CATiledLayer PDF Performance is Poor on iPad 3 Retina Display

Asked 2012-03-19T23:46:16.563
27

I'm using rather straightforward code to display a zoomable PDF in a scrollview, and it has been working beautifully on the iPad 2 and the original iPad. But it's staggeringly slow on the iPad 3. I know I'm pushing more pixels, but the rendering performance is simply unacceptable.

In iOS 5.0 and later, the tileSize property is arbitrarily clamped at 1024, which means tiles appear half that size on the retina display. Has anyone found a way to overcome this limitation?

Otherwise, has anyone found a way to improve the speed of the CATiledLayer on the iPad 3?

Edit
Report

1 Answer

1

Have you tried setting shouldRasterize to YES on the layer?

answered 2012-04-26T09:26:47.570

Your Answer