开发者

How to load images in uitableview?

开发者 https://www.devze.com 2023-01-27 02:34 出处:网络
In my application i m using webservices to get the the image to load in UITableView. the images loaded in the cell and i scroll down to see other datas, if i again scroll up to see already loaded data

In my application i m using webservices to get the the image to load in UITableView. the images loaded in the cell and i scroll down to see other datas, if i again scroll up to see already loaded data, there the loaded images are again loading. Why this happens. can anyone tell开发者_开发问答 that how to display images in LazyTableImage example


If we scroll, each time cellForRowAtInpdex is called every time.so,you should handle the image loading in someother part(say ViewDidLoad)..

0

精彩评论

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

关注公众号