title: how to get saved image from document folder and show image on next visit of url not from parsecd image
body: <p>I have one application in that i want to store icons image from from online image path (url) in local.</p>
  
  <p>i store this image in local when user visit another url the icon was replacing with previous and how replace this icon for reuse plz help me out.</p>
  
  <p>thank you!</p>
  
  <pre><code>        NSString *strImage = [NSString stringWithFormat:@"%@",aBook.image];
          NSURL *url4Image = [NSURL URLWithString:strImage];
          NSData *data = [NSData dataWithContentsOfURL:url4Image];
          if(data !=NULL)
          {
              imageView =[[UIImage alloc] initWithData:data];
              if(imageView == NULL)
              {
                  imageView =[UIImage imageNamed:@"dealsbell_lo.png"];    //  NoImage.png
  
              }
          }
          NSData *imageData = UIImagePNGRepresentation(imageView);
          NSString *imageName = [NSString stringWithFormat:@"image.png"];
                  NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
          NSString *documentsDirectory = [paths objectAtIndex:0];
          NSString *fullPathToFile = [documentsDirectory stringByAppendingPathComponent:imageName];
          [imageData writeToFile:fullPathToFile atomically:YES];
  
          cell.imageView.image = imageView;
  </code></pre>