Giter VIP home page Giter VIP logo

Comments (14)

hongdong avatar hongdong commented on June 25, 2024

紧急问题、目前使用的是1.3.3最新版

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

初始化导航控制器时调用导航栏的setBarStyle : black

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

你可能是通过设置的bar tint color把导航栏变成黑色的,1.3.3让导航栏变为黑色推荐设置barStyle,如果想变成其他默认颜色的话,就pull一下最新代码,稍后等我测试通过后会更新到pod中。

from jznavigationextension.

hongdong avatar hongdong commented on June 25, 2024

恩、是的、我是通过全局的bar tint color把bar设置成主题色的,barStyle的设置并不符合需求,谢谢,等待更新中

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

嗯,你更新到新的1.3.4试下吧

from jznavigationextension.

hongdong avatar hongdong commented on June 25, 2024

1.3.4版本 第一次push过去以后没有问题、退回来以后bar会变成黑色、再push过去也是黑色、

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

没明白你的意思,你想要黑色的不是正确的?

from jznavigationextension.

hongdong avatar hongdong commented on June 25, 2024

2016-01-30 21_28_35
我设置的bar tint color是我自己的主题色,在baseNavgationVC里面统一设置的,但是push过去再退回来就变成黑色了

from jznavigationextension.

hongdong avatar hongdong commented on June 25, 2024

2016-01-30 21_31_52

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

在你设置完导航栏主题颜色之后,把你首页控制器的navigationBarTintColor属性也设置成你的主题颜色试试

from jznavigationextension.

hongdong avatar hongdong commented on June 25, 2024

恩、我试了一下、按照你说的这样是可以的、就是在delegate中设置[[UINavigationBar appearance] setBarTintColor:THEME_COLOR];这种方式是不行的,为什么呢?

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

控制器的navigationBarTintColor属性是懒加载的,你设置的颜色代码要晚于懒加载的代码,所以你的首页控制器读取导航栏颜色时其实还没有颜色。这块看来还是要优化一下

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

@hongdong 我这边在导航控制器的ViewDidLoad中设置导航栏颜色的话没有复现你的问题,你是在哪设置的[[UINavigationBar appearance] setBarTintColor:THEME_COLOR];?

from jznavigationextension.

JazysYu avatar JazysYu commented on June 25, 2024

你好,新版的行为已经改变

from jznavigationextension.

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.