开发者

iPhone - Page Scroll View Help, stop different views controllers allocation

Currently i have using the PageControl sample code of Apple, in this sample code all the time create new View Con开发者_Python百科troller. Thats why the application memory issues and crash the application.

In my application there are 250 pages to display in paging.

Is there any way to create one or tow view controller and paging that views.

Please Help me..

Thanks in advance......


The apple's pageControl sample code will keep the current page, left un-visible page, and the right un-visible page. So it will new viewControllers, but I remember it will release other un-usable viewControllers to reduce the memory usage. The maximum viewControllers it keeps in the array are 3.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜