CYLTabBarController icon indicating copy to clipboard operation
CYLTabBarController copied to clipboard

fix:当五个TabbarItem,其中仅第三个无lottie动画时bug.

Open douxindong opened this issue 3 years ago • 1 comments



My issue:

image 当中间门店item并不想加lottie动画时,动画错位:【"购物车"的动效跑到"门店上去"了】 1.采取:当index==2时不设置此参数"CYLTabBarLottieURL"结果,"购物车"的动效跑到"门店上去"了 通过读代码得知:NSURL *lottieURL = self.lottieURLs[index]; 设计缺陷,导致必须要么一致有动画要么不加动画。 2.解决方案: image

What I have done:

fix: 源码改动: image

douxindong avatar Dec 30 '21 14:12 douxindong

我和你一样遇到了这个问题,使用你的方法,暂时解决了,非常感谢。

my-lsk avatar Jan 19 '22 02:01 my-lsk