Giter VIP home page Giter VIP logo

Comments (3)

JazysYu avatar JazysYu commented on July 24, 2024

是的,如果你的控制器没有设置过这个属性,那么它会采用当前该属性的值。比如:A->Push->B,B的jz_navigationBarBackgroundHidden为true,如果你想返回A时显示导航栏背景,那么需要设置A的jz_navigationBarBackgroundHidden为false。

from jznavigationextension.

xnth97 avatar xnth97 commented on July 24, 2024

明白了,不过想问下修改成这样的原因是什么呢?

个人感觉原来那种只需要设置当前 ViewController 的逻辑非常直观清晰。改成这样后如果使用 Storyboard 应该也很方便,然而在我的项目中,情况是 A(hidden) 可能 push 到 B,C,D,E,F,G...等等 controller 且并未使用 Storyboard,这样就需要去每个 ViewController 里面都加上和自身逻辑无关的代码。

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

https://github.com/JazysYu/JZNavigationExtension/wiki

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.