phasset 转 uiimage

PHImageManager *manager = [PHImageManager defaultManager];

    [manager requestImageForAsset:asset targetSize:PHImageManagerMaximumSize contentMode:PHImageContentModeDefault options:options resultHandler:^(UIImage *resultImage, NSDictionary *info)

     {

         UIImage *image = resultImage;

         NSLog(@"%@", NSStringFromCGSize(resultImage.size));

         imageView.image = image;

     }];

你可能感兴趣的:(phasset 转 uiimage)