开发者

UIScrollView with over 100 images

开发者 https://www.devze.com 2023-01-03 10:15 出处:网络
I have implemented a UIScrollView on the iPhone that contains 100 image slots which I开发者_如何学JAVA fill only the currently visible page, the one before it, and the one after it as the user scrolls

I have implemented a UIScrollView on the iPhone that contains 100 image slots which I开发者_如何学JAVA fill only the currently visible page, the one before it, and the one after it as the user scrolls.

Everything works fine until we get up to image 97 or 98, the entire view disappears! The only thing I can do at that point is navigate back to the previous view.

Nothing works as far as the scroll view after this. I am not receiving any memory warnings an the rest of the app functions fine. Any ideas? Has anyone created a UIScrollView in paging mode with over 100 pages?

Rick


you might want to look into using the Three20 library.

http://three20.info/ (open source and commercial friendly license)

It has an 'image container', might save you some time on re-inventing the wheel.

0

精彩评论

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