Comments (5)
README 中应该有这个问题的解决方案:
HomeVC *vc1 = [[HomeVC alloc] init];
vc1.view.backgroundColor = [UIColor whiteColor];
vc1.tabBarItem.badgeValue = @"23";
vc1.title = @"Home";
// THIS LINE ⬇️
vc1.tabBarItem.image = [UIImage imageNamed:@"tabbar_home"];
vc1.tabBarItem.selectedImage = [UIImage imageNamed:@"tabbar_home_selected"];
from lctabbarcontroller.
如果你想改变 tabbar 整体的背景色,在 LCTabBarController 中的 77~78 行添加代码:
tabbar.backgroundColor = colorYouNeed;
from lctabbarcontroller.
我 GitHub Desktop 挂掉了,改不了,你自己改改。
from lctabbarcontroller.
1、LCTabBarController 中的 77~78 行添加代码:tabbar.backgroundColor = [UIColor redColor];有效果;不过这样是直接改你代码,我用背景图片也可以;
2、选中的tabBarItem背景图片能改吗?能改的话怎么改?
from lctabbarcontroller.
要改代码
发自我的 iPhone
在 2016年3月1日,下午12:34,Zohar163 [email protected] 写道:
1、LCTabBarController 中的 77~78 行添加代码:tabbar.backgroundColor = [UIColor redColor];有效果;不过这样是直接改你代码,我用背景图片也可以;
2、选中的tabBarItem背景图片能改吗?能改的话怎么改?—
Reply to this email directly or view it on GitHub.
from lctabbarcontroller.
Related Issues (20)
- iOS11会出现系统默认TabBar,导致视觉重影 HOT 7
- 作者写的很好,这儿给出了两个小建议 HOT 7
- iOS11那个重影还是存在呢。 HOT 5
- 作者啥时候适配 iPhone X HOT 4
- popToRootViewController的时候tabbar出现重影 HOT 7
- TODO: 修复 iOS 11.0- 的重影 bug HOT 4
- Xcode 9.1 iPhone 8 Plus 底部的bar出现重影 HOT 3
- no tabbar title HOT 1
- 中间加号按钮,类似微博 闲鱼
- 大佬求解 HOT 1
- Second Clicking on same tabbar
- 初始化两个tabbar 放在rootviewcontroller 会有问题 HOT 1
- iPhone X模拟器 重影问题还存在 HOT 1
- itemTitleColor和SelectTitleColor 无法动态修改吗?
- How to change tab bar background color HOT 1
- How to change title color when selected? HOT 1
- How to hide tab bar when i push the controller on another view?
- Tab Bar Badge did not show HOT 1
- iPhone X Issues
- Disable tabbar item
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lctabbarcontroller.