lisen87 / image_pickers

图片多选并压缩,保存图片到相册,视频多选,预览图片和视频
Apache License 2.0
90 stars 59 forks source link

iOS13 iOS14拍照时确定取消按钮只有俩白色圆圈按钮,没有任何标识。ios14从相册选取照片时放大预览无法显示图片。 #53

Closed zhouxting closed 1 year ago

zhouxting commented 4 years ago

版本1.0.8+4

zhouxting commented 4 years ago

拍照按钮的问题好像没有了,只有那个从相册选择照片时无法预览的问题

Keanyuan commented 3 years ago

升级SDWebImage 或者修改本地Pod SDAnimatedImageView.m中

- (void)displayLayer:(CALayer *)layer
{
    if (_currentFrame) {
        layer.contentsScale = self.animatedImageScale;
        layer.contents = (__bridge id)_currentFrame.CGImage;
    }
}

UIImage *currentFrame = self.currentFrame;
if (currentFrame) {
    layer.contentsScale = currentFrame.scale;
    layer.contents = (__bridge id)currentFrame.CGImage;
} else {
    // If we have no animation frames, call super implementation. iOS 14+ UIImageView use this delegate method for rendering.
    if ([UIImageView instancesRespondToSelector:@selector(displayLayer:)]) {
        [super displayLayer:layer];
    }
}
cuixiaocun commented 1 year ago

升级到最新的库