I am new to iOS developer, using Storyboard
I get Image
from the URL and load an image to the UITableviewcell when scroll the tableview
the table will scroll very slowly and struck to scroll.
Asked
Active
Viewed 1.2k times
3

Echilon
- 10,064
- 33
- 131
- 217
3 Answers
4
Here check ou the following links , you should use lazy loading for this,
Lazy load images in UITableView
Loading images from a URL into a UITableViewCell's UIImageView

Community
- 1
- 1

IronManGill
- 7,222
- 2
- 31
- 52
-
using json parser i get image from url and i load to tableview problem is when i am scroll the table view it will struck to scroll – Nov 09 '12 at 06:26
0
You should use lazy loading of image in your cells. The slowness or stuck is happening because you are fetching the image (..ie a network activity) in your main thread or the UI thread.
You can get a lot of tutorial in net for loading images async. Here is a tutorial from Apple : link

jithinroy
- 1,885
- 1
- 16
- 23
0
see the answer from this question for AsynchImage.. iphone-download-asynchronous
also use AsynchImage for download image and set in UITableViewCell as a image

Community
- 1
- 1

Paras Joshi
- 20,427
- 11
- 57
- 70