前些日子在一个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

解决方案 »

  1.   

    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?
      

  2.   

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

  3.   

    不知道你在说什么  bu zhi dao ni zai shuo shen me
    他说你写的东西是软文
    估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵
      

  4.   

    不知道你在说什么  bu zhi dao ni zai shuo shen me
    他说你写的东西是软文
    估计是正在努力学鸟语的一哥们,到处写鸟语 呵呵
    赞一个