Scroll Lazy Image Load for iOS

Released 6 years ago , Last update 6 years ago

A UIScrollView component that lazy loads images as the user scrolls the view horizontally.

A customizable UIScrollView for lazy loading multiple images. Useful for quickly loading views that contain images loaded from the web. Very simple to add to your application and style to your application look and feel.


When the application loads, activity indicators are shown where images are being downloaded. Once the images are downloaded they will replace the loading indicators.

Clicking on an image will load that image on top of UIScrollView.

  • 5 11
  • 4 4
  • 3 0
  • 2 0
  • 1 0
15 Reviews Read Reviews


14 day 14-day money-back guarantee


MIT license

The MIT license is an open-source license.


Create a controller that implements ScrollLazyloadViewController.

In addition, the following classes must be implemented:

  1. Model class named ClsImgs
  2. UIView class named LazyloadView
  3. NSObject class named ImageDownloader

Implement ImageLazyLoadDelegate and create the properties included in ScrollLazyloadViewController.h :

@interface ScrollLazyloadViewController : UIViewController 

Modify objClsImgs.strURL in -(void)loadScrollImages to point to your images.

-(void)loadScrollImages function will add all objects of ClsImgs to Array and then It will set UIScrollView using -(void)setImageScrollView function.

In -(void)setImageScrollView, you can edit width and height of LazyLoadView using xPos += 68; and [scrollView setContentSize:CGSizeMake(xPos, 62)]; where 68 and 62 is width and height respectively.

For this you should have to change in your LazyLoadView.xib file accordingly in width or height.

ImageDownloader.h/m are used to download image using NSURLConnection. where we are passing objClsImgs.strURL for NSURLRequest in NSURLConnection.

- (void)loadImages checks for each image, if it is downloaded or pending.

If Images are not downloaded then It will call - (void)startIconDownload:(ClsImgs *)pClsImages forImgTag:(NSInteger)pImgTag.

After images are downloaded, - (void)appImageDidLoad:(NSInteger)pImgTag is called - use that for post load operations.

License » MIT license Download

Get A Quote

What do you need?
  • Custom development
  • Integration
  • Customization / Reskinning
  • Consultation
When do you need it?
  • Soon
  • Next week
  • Next month
  • Anytime

Thanks for getting in touch!

Your quote details have been received and we'll get back to you soon.

Or enter your name and Email
  • M mahesh 5 years ago
    Nothing is coming in a view only white screen is coming once check it and upload it
  • A anu 6 years ago
    plz tell me how to add images in scrollview plz it's very urgent plz plz
    • MJ Max Johnson Publisher 6 years ago
      There is function like -(void)loadScrollImages in main Controller. This function will add number of images in one array.. and please see -(void)setImageScrollView, It will add images to ScrollView.
    • A anu 6 years ago
      Thanks it is woring but in scroll view images are not display in order
  • H hiren 6 years ago
    Great work and thanks a lot.