// fullScreenImage可以直接初始化为UIImage UIImage *tempImg = [UIImage imageWithCGImage:asset.defaultRepresentation.fullScreenImage]; // 需传入方向和缩放比例,否则方向和尺寸都不对 UIImage *tempImg = [UIImage imageWithCGImage:asset.defaultRepresentation.fullResolutionImage scale:asset.defaultRepresentation.scale orientation:(UIImageOrientation)asset.defaultRepresentation.orientation];
Note: 在iPhone6+上,fullScreenImage获取的尺寸 如果为x, 那么fullResolutionImage获取的图片尺寸则为x/3.
时间: 2024-10-18 22:30:07