当前位置:编程学习 > wap >>

写了一个用UIScrollView无限浏览图片的demo

前些日子在一个iPad客户端项目中遇到了一个问题:需要实现大量本地图片的浏览,结果内存不够了。后来使用了开源项目SwipeView解决了问题。SwipeView是基于iCarousel项目创建的,代码很复杂。后来我在苹果的官方文档上看到了对于这种问题的一些提示https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/UIScrollView_pg/ScrollViewPagingMode/ScrollViewPagingMode.html#//apple_ref/doc/uid/TP40008179-CH3-SW4。周六在家闲着没事,就试着自己写了一个无限读取图片的demo.。代码很简单,效果还可以。感兴趣的同学可以到GitHub上下载https://github.com/nimingzhe/infiniteImageScroll。 --------------------编程问答-------------------- hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs 
admin~~~ where is admin? can u delete this post? --------------------编程问答--------------------
引用 1 楼 zay109327402 的回复:
hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs 
admin~~~ where is admin? can u delete this post?

不知道你在说什么  bu zhi dao ni zai shuo shen me --------------------编程问答--------------------
引用 2 楼 nimingzhe2008 的回复:
Quote: 引用 1 楼 zay109327402 的回复:

hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs 
admin~~~ where is admin? can u delete this post?

不知道你在说什么  bu zhi dao ni zai shuo shen me

他说你写的东西是软文。。。
估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵 --------------------编程问答--------------------
引用 3 楼 sinom 的回复:
Quote: 引用 2 楼 nimingzhe2008 的回复:

Quote: 引用 1 楼 zay109327402 的回复:

hello,I thought that this maybe a question,but when I clicked in,I regreted,this is an ADs 
admin~~~ where is admin? can u delete this post?

不知道你在说什么  bu zhi dao ni zai shuo shen me

他说你写的东西是软文。。。
估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵

赞一个 --------------------编程问答-------------------- 除
补充:移动开发 ,  iPhone
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,