Only on iPad devices and only in latest 9.3 release, when you call [PHCachingImageManager requestImageForAsset:] with a legitimate target size (CGSize) it does not return a valid image. For example...
PHAsset *asset = self.assetsFetchResults[indexPath.item];
[self.imageManager requestImageForAsset:asset
targetSize:CGSizeMake(101, 101)
contentMode:PHImageContentModeAspectFill
options:nil
resultHandler:^(UIImage *result, NSDictionary *info) {
cell.defectImageView.image = result;
}];
will not return an image. This is in a collection view so the cell's image is just black. However, bumping up the target size to 190,190 will return SOME of the images from the device but not all. When bumping up the target size to 501, 501 all of the images are returned properly.
Obviously there has been some change to minimum targetSize requirements but it does not seem to be documented. When I run this on an iPad with iOS 9.2.1 it works without any issues. Is anyone else experiencing this?
Filing a radar but wanted to check...