ChenYilong / CYLTabBarController

[EN]It is an iOS UI module library for adding animation to iOS tabbar items and icons with Lottie, and adding a bigger center UITabBar Item. [CN]【中国特色 TabBar】一行代码实现 Lottie 动画TabBar,支持中间带+号的TabBar样式,自带红点角标,支持动态刷新。【iOS13 & Dark Mode & iPhone XS MAX supported】
MIT License
6.9k stars 1.45k forks source link

照着readme写的 为什么中间按钮显示不出来 #463

Open GodL opened 4 years ago

GodL commented 4 years ago



My issue:

yewantaihei commented 4 years ago

我也是照着写的中间按钮就是不出来

suhaotue commented 4 years ago

我也是按照demo来的,就是中间按钮出来,视图层级根本就没渲染plusButton。网上列子我都拷贝过来的也不行,难道最新版本有问题?

Meterwhite commented 4 years ago

我也是按照demo来的,就是中间按钮出来,视图层级根本就没渲染plusButton。网上列子我都拷贝过来的也不行,难道最新版本有问题?

图片

是这样吗?

Meterwhite commented 4 years ago

Shit,你必须这样导入pod 'CYLTabBarController/Lottie', '~> 1.28.5'。 我在项目中分开pod的lottie,他内部__has_include根本检测不到。你们别用宏,用runtime来写啊