Reactions
Reactions copied to clipboard
Animated icon supports (like Facebook)

Possible solutions:
UIImageView. animationImagesproperty- using external library (like Keyframes)
- using animated
CALayer
under Components swift file added CAKeyFrameAnimation to make it animate:
return CALayer().build {
let animation = CAKeyframeAnimation(keyPath: "contents")
animation.calculationMode = kCAAnimationDiscrete
animation.duration = 3.0
animation.repeatCount = .greatestFiniteMagnitude
animation.autoreverses = false
animation.values = imageArray.map {$0.cgImage!}
animation.isRemovedOnCompletion = false
animation.fillMode = kCAFillModeForwards
animation.beginTime = 0.0
$0.add(animation, forKey: "contents")
}
have you supported this feature?
How to use ?