onevcat / Kingfisher

A lightweight, pure-Swift library for downloading and caching images from the web.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

带圆角的图片使用 fade 过渡动画有问题

baiyidjp opened this issue · comments

Check List

Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.

Issue Description

What

KF 7.10.0 ,iOS 17.1

Swift UIKit 环境,在带圆角的 UIImageView 中加载图片,我设置了一个正方形的占位图,transition 使用的 fade,在加载成功执行 fade 动画的时候有问题

具体表现为:渐隐开始的图片恢复了正方形

测试:使用带圆角的占位图就不会出现上诉情况

我尝试使用 custom 的过渡,但是无法手动去设置 ImageView 的圆角

这个可以有其他办法解决吗?

Reproduce

正方形占位图
image
圆角占位图
image

Other Comment

[Add anything else here]