Giter VIP home page Giter VIP logo

Comments (5)

iTofu avatar iTofu commented on June 16, 2024

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.

iTofu avatar iTofu commented on June 16, 2024

如果你想改变 tabbar 整体的背景色,在 LCTabBarController 中的 77~78 行添加代码:

tabbar.backgroundColor = colorYouNeed;

from lctabbarcontroller.

iTofu avatar iTofu commented on June 16, 2024

我 GitHub Desktop 挂掉了,改不了,你自己改改。

from lctabbarcontroller.

Zohar163 avatar Zohar163 commented on June 16, 2024

1、LCTabBarController 中的 77~78 行添加代码:tabbar.backgroundColor = [UIColor redColor];有效果;不过这样是直接改你代码,我用背景图片也可以;
2、选中的tabBarItem背景图片能改吗?能改的话怎么改?

from lctabbarcontroller.

iTofu avatar iTofu commented on June 16, 2024

要改代码

发自我的 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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.