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.92k stars 1.46k forks source link

怎么修改tabbar的title? #276

Closed tanjieaa closed 5 years ago

tanjieaa commented 6 years ago

Base Info for this issue

  1. Version:v1.16.0
  2. Language:Objective-C
  3. iOS System Version:iOS10以上
  4. Prototype(是否是真机):YES
  5. Issue Type:Enhancement(希望能支持一个新需求)、Q-A

1. How to repeat the problem.

2. Please help me in this way.

因为我项目是支持多语言版本,当切换其他语言,使用通知更换语言,但是tabbar上的title应该怎么切换呢,我拿到对应tabbar控制器,使用vc.tabBarItem.title更换,但是更换不了

3. Here is a Demo.

4. Here is my Debug log

yangzheng006 commented 6 years ago

怎么完成的?

ChenYilong commented 5 years ago

这里给出了详细的方案:https://github.com/ChenYilong/CYLTabBarController/issues/247