GithubHelp home page GithubHelp logo

有时候返回按钮会消失,此时还在webview页面,没有退出到原生页面,导致无法退出,这种现象偶尔会出现 about rxwebviewcontroller HOT 2 OPEN

yyh321 avatar yyh321 commented on July 22, 2024
有时候返回按钮会消失,此时还在webview页面,没有退出到原生页面,导致无法退出,这种现象偶尔会出现

from rxwebviewcontroller.

Comments (2)

yyh321 avatar yyh321 commented on July 22, 2024 3

就是原生多级跳转,肯定会出现。还有打开webview,偶尔会导航栏消失,但是偶然出现的,我是按照以下方式解决的,已经Ok
-(BOOL)navigationBar:(UINavigationBar *)navigationBar shouldPopItem:(UINavigationItem *)item{
//这一个要去掉!!!!!!
//! 如果应该pop,说明是在 popViewController 之后,应该直接 popItems
// if (self.shouldPopItemAfterPopViewController) {
// self.shouldPopItemAfterPopViewController = NO;
// return YES;
// }
//
//解决多级跳转导航栏消失问题
if([self.viewControllers count] < [navigationBar.items count]) {
return YES;
}

from rxwebviewcontroller.

Roxasora avatar Roxasora commented on July 22, 2024

请问如何复现呢,在什么情况下会发生这种情况?

from rxwebviewcontroller.

Related Issues (19)

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.