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

PHImageManager is not working iphone4s #57

@smilydronavalli

Description

@smilydronavalli

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions