问题描述
我正在尝试合并此动画:
https://lottiefiles.com/8836-loading#
let size = chartBackgroundView1.bounds.height - 80
loadingAnimationView = .init(name: "purple_loader")
loadingAnimationView!.frame = CGRect(x: (chartBackgroundView1.bounds.width - size) / 2,y: (chartBackgroundView1.bounds.height - size) / 2,width: size,height: size)
loadingAnimationView!.contentMode = .scaleAspectFit
loadingAnimationView!.loopMode = .loop
loadingAnimationView!.animationSpeed = 4
chartBackgroundView1.addSubview(loadingAnimationView!)
loadingAnimationView!.play()
不确定为什么会这样。 谢谢
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)