Thursday 10 October 2013

Lazy image loading in ios 


  1. Add AFNetworking and UIKit+AFNetworking using the  Github link .
  2. Add these two files to your project and where ever your image is loading #import
    "UIImageView+AFNetworking.h".
  3. [cell.yourimageview setImageWithURL:[NSURL URLWithString:@"your image url"] placeholderImage:[UIImage imageNamed:@"your place holder image"]];
  4. Add Security and SystemConfigaration Framework.

No comments:

Post a Comment