fix the image size oncustom tabelview I am using the cell.imageview property
<p>I am using the custom tabelview cell when I show the images on tabelview cell than all images size is different how to show all the images of same size in iphone</p>

<pre><code>  NSString *str=[self.uploadimagearry objectAtIndex:indexPath.row];
  NSURL *uploadimageURL = [NSURL URLWithString:[str stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]];
   // NSData *imgdata=[NSData dataWithContentsOfURL:uploadimageURL];

    //UIImage * uploadimage = [UIImage imageWithData:imgdata];
    cell.imageView.frame=CGRectMake(0, -15, 40, 35);
    //[[cell imageView] setContentMode:UIViewContentModeScaleAspectFit];
        cell.autoresizesSubviews=NO;

    [cell.imageView setImageWithURL:uploadimageURL placeholderImage:[UIImage imageNamed:@"loading.png"]];

    cell.textLabel.text=[imageidarry objectAtIndex:indexPath.row];
</code></pre>
