Slow loading the images from URL in UITAbleView.

后端 未结 9 751

I\'m loading the images from URL in UITableView. But it\'s very slow when loading an view. Here\'s an example,

UIImage *image = nil;
image = [UIImage imageW         


        
9条回答
  •  长情又很酷
    2020-12-20 10:34

    Try to implement AFNetworking. It uses async requests to download the image, you are currently blocking your view with every download.

    You can then use an AFImageRequestOperation to download your image.

提交回复
热议问题