YYImage icon indicating copy to clipboard operation
YYImage copied to clipboard

Fixed a bug on not showing images in iOS14 on YYAnimatedImageView

Open alisamaiee opened this issue 4 years ago • 2 comments

On iOS 13: If we override this, UIKit will render the UIImageView.image itself before calling this method. So even if self.currentFrame == nil, the UIImageView.image get rendered. On iOS 14: UIKit no longer render anything if you override that displayLayer: method. We can have a backup to render layer.contents for this case by ourself.

alisamaiee avatar Oct 11 '20 08:10 alisamaiee

Any eta on merge?

JGVB avatar Dec 17 '20 18:12 JGVB

Hi @alisamaiee. Maybe that has already happened, but have you considered submitting this same PR to https://github.com/yykits/yyimage as well? That repository seems still maintained.

GiuseppePiscopo avatar Nov 30 '21 15:11 GiuseppePiscopo