I am trying to optimize the loading in my application, in fact I have a lot of images uploaded to my application, and I spend a lot of time waiting for the view controller to open, especially the first initial view, which includes many images.
I looked at an apple sample
but I canβt recycle the whole application, I just want to tell me what should I do ?, am I implementing?
in tableview , where the cell is implemented by cellforrowatindexpath:
NSURL *imageURL = ......; NSData *imageData = [NSData dataWithContentsOfURL:imageURL]; UIImage *imageLoad; imageLoad = [[UIImage alloc] initWithData:imageData]; imageView.image = imageLoad;
Can i do something?
Thank you for your help!

ios iphone uiimage uiimageview lazy-loading
Carinam
source share