title: set progress view in the loop, or updating progress view
body: <pre><code>for (int i=0; i&lt;[array count]; i++)
  {
      NSError *error;
      NSArray *ipaths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES);
      NSString *idocumentsDir = [ipaths objectAtIndex:0];
      NSString *idataPath = [idocumentsDir stringByAppendingPathComponent:@"File"];
      NSLog(@"idataPath:%@",idataPath);
  
      //Create folder here
      if (![[NSFileManager defaultManager] fileExistsAtPath:idataPath])
      {
          [[NSFileManager defaultManager] createDirectoryAtPath:idataPath withIntermediateDirectories:NO attributes:nil error:&amp;error];
      }
      // Image Download here
      NSString *fileName = [idataPath stringByAppendingFormat:@".jpg"];
      NSLog(@"imagePathDOWNLOAD:%@",fileName);
  
      _imgData = [[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:[array objectAtIndex:i]]];
      [_imgData writeToFile:fileName atomically:YES];
  
      tempImg.image = [UIImage imageWithData:_imgData];   
  }
  </code></pre>
  
  <p>How to set progress view for this loop , i want to set progress view for downloading data.
  as well as progress label (i.e. %) i want percentage decimals.</p>