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.91k stars 1.45k forks source link

viewController.tabBarItem.selectedImage = selectedImage 无效 #274

Closed HobaoKing closed 6 years ago

HobaoKing commented 6 years ago

Base Info for this issue

    selectedImage = [selectedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; 

最新的版本,这一行被注释掉了, 我这边会导致viewController.tabBarItem.selectedImage = selectedImage 无效。

ChenYilong commented 6 years ago

具体是什么问题,请详细描述下。viewController.tabBarItem.selectedImage = selectedImage 中右侧赋值前设置, selectedImage = [selectedImage imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal];

再赋值,这样可以吗?

ChenYilong commented 6 years ago

v1.17.8已修复,更新下