Search code examples
objective-ciosuipagecontrol

UIPageControl lagging on retina devices


I've implemented an iphone app with a page controller following Apple's code example. There are only 3 views on the page controller. The app works fine on normal screens, but when I test it on retina devices, there is a visible lag when scrolling either horizontally or vertically in any of the views. Any ideas of what the problem might be or how can I "debug" this?

The content of 2 of the views is a table view and on the third view I'm using CorePlot. The network is not used while scrolling.


Solution

  • I was adding a shadow around the 3 views and that's what was making the scrolling slow.