views:

20

answers:

0

The title pretty much sums it up, but what's happening is that I have a UIPopeverController popping up and presenting a UITableView from a toolbar button. Underneath the popover I have a large UIScrollView with several PDF pages being rendered into CATiledLayers using Quartz.

Whenever I try to scroll in the popover (the UITableView really) all of my PDF-s (thus the contents of the the UIScrollView) get re rendered (drawLayer:inContext: gets called). It looks like this is a recursive call all the way from the top of my view hierarchy - heres the call stack:

alt text

My question is: is there any sane way of stopping this from happening?