1

I used elcimagepickercontroller in my app, when want to choose images from Gallery images not appear but when select it it appear kindly check the attachment images. Select from Gallery

No Images but when clicked How to appear my gallery photos.

Ahmed Abdallah
  • 2,338
  • 1
  • 19
  • 30

1 Answers1

0

I fixed it changing the conde from ELCAssetCell.m

in setAssets function chage:

if (i < [_imageViewArray count]) {
        UIImageView *imageView = [_imageViewArray objectAtIndex:i];
        imageView.image = [UIImage imageWithCGImage:asset.asset.thumbnail];
    }

to

if (i < [_imageViewArray count]) {
        UIImageView *imageView = [_imageViewArray objectAtIndex:i];
        //changed code:
        CGImageRef r1 = asset.asset.thumbnail;
        CGImageRef r2 = asset.asset.aspectRatioThumbnail;
        imageView.image = [UIImage imageWithCGImage:r1 == nil?r2:r1];
    }

it will work until is fixed, always have in mind you have changed that line so check it on updates.

Hope that helps

Jorge Arimany
  • 5,814
  • 2
  • 28
  • 23