0

I am displaying images in UITableview from document directory folder but it's getting so much loading, how can I make it smooth. See below my code:

cell.imageView.image = [UIImage imageWithContentsOfFile:path];

If I convert the path into NSData then it also get so much load to display image in UITableview.

Any suggestion or any other way to display the image from document directory or any suggestion for smoothly loading images from document directory?

Paebbels
  • 15,573
  • 13
  • 70
  • 139
Nikunj
  • 49
  • 7

1 Answers1

0

Try LazyTableImages sample code from Apple like Phil Kulak answered to a similar question.

Community
  • 1
  • 1
Islam
  • 3,654
  • 3
  • 30
  • 40