Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

PHImageManager is not working iphone4s #57

Open
smilydronavalli opened this issue Jul 18, 2018 · 0 comments
Open

PHImageManager is not working iphone4s #57

smilydronavalli opened this issue Jul 18, 2018 · 0 comments

Comments

@smilydronavalli
Copy link

HI,

    for (PHAsset *asset in photoAssets) {
        CGSize targetSize = CGSizeMake((CGRectGetWidth(_mycollection.bounds) - 20*2) * [UIScreen mainScreen].scale, (CGRectGetHeight(_mycollection.bounds) - 20*2) * [UIScreen mainScreen].scale);
        [imageManager requestImageForAsset:asset targetSize:PHImageManagerMaximumSize contentMode:PHImageContentModeAspectFill options:options resultHandler:^(UIImage *image, NSDictionary *info) {
            [mutableImages addObject:image];
        }];
    } 

Th above method is not working in iphone4.suddenly it's not working.Please kindly suggest me how to resolve this issue and it is important for me.

Thanks inadvance

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant