Lazy loading with multiple scrollview and dynamic images

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-25 02:42:52

问题


I having a hard time with this one and would appreciate any help, my problem is that I'm building a multiple image carousel in a tableview it contains custom cell with scroll view in each of them the scrollview display images from xml fetched thru the internet which means uiimageview is added runtime as a scrollview subview. I want to lazy load these images so it will not take up too much memory. The samples that I've found only uses 1 scrollview and predefined image count.

Thanks in advance!


回答1:


i recommend this github project https://github.com/rs/SDWebImage



来源:https://stackoverflow.com/questions/8283513/lazy-loading-with-multiple-scrollview-and-dynamic-images

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!