Giter VIP home page Giter VIP logo

Comments (13)

JazysYu avatar JazysYu commented on July 24, 2024

能说的具体一点吗?比如你在哪设置这个属性的?两个控制器是否都显示导航栏?

from jznavigationextension.

 avatar commented on July 24, 2024

是的 两个控制器都显示导航栏 切换回1.4.0才正常

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

我这里没有遇到你的问题,所以看不懂你的意思,你最好详细说一下在哪设置的属性,以及截屏让我看下现象。

from jznavigationextension.

 avatar commented on July 24, 2024
 Detail *detail = [self.storyboard instantiateViewControllerWithIdentifier:NSStringFromClass([Detail class])];
        detail.jz_wantsNavigationBarVisible = NO;
        [self.navigationController jz_pushViewController:detail animated:YES completion:^(UINavigationController *navigationController, BOOL finished) {

        }];

from jznavigationextension.

 avatar commented on July 24, 2024

1766507520

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

你是在哪里设置“detail”控制器的前一个控制器的jz_wantsNavigationBarVisible的?

from jznavigationextension.

 avatar commented on July 24, 2024

没设置呢

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

那你有设置过navigationController.navigationBarHidden吗?

from jznavigationextension.

 avatar commented on July 24, 2024

也没有呢,那个更奇怪,设置了直接变成黑的

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

我说一下我对你这个问题的理解,你现在的现象是,交互detail控制器的POP手势的时候导航栏突然显示出来了,是这个问题吗?我觉得你是不是在哪里设置了没有找到?比如detail控制器有没有在viewWillDisappear方法中设置jz_wantsNavigationBarVisible了,现在需要排查所有设置导航栏隐藏相关的地方。或者你有用到哪个其它库冲突导致的?

from jznavigationextension.

 avatar commented on July 24, 2024

解决了,在root nav的viewWillAppear里设置self.jz_wantsNavigationBarVisible = YES;不设置的话navigationBar在pop后就被隐藏了。

from jznavigationextension.

JazysYu avatar JazysYu commented on July 24, 2024

好。有关这个API的特性稍后我会更新一篇文档。

from jznavigationextension.

 avatar commented on July 24, 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.