Coder Social home page Coder Social logo

Comments (7)

tbl00c avatar tbl00c commented on May 29, 2024 1

https://github.com/tbl00c/TLTabBarController

from lctabbarcontroller.

iTofu avatar iTofu commented on May 29, 2024

谢谢建议!第1点我会再验证一下,第2点调用removeOriginControls的确是非常之不爽,回头我会干掉这个方法,让框架自动处理,这个方法处理的场景之一是 popToRootViewController 时,系统会重新渲染原有控件,不知道这个方法能否被监听?

from lctabbarcontroller.

tbl00c avatar tbl00c commented on May 29, 2024

我测试了下,popToRootViewController没有重新渲染原有控件。

from lctabbarcontroller.

iTofu avatar iTofu commented on May 29, 2024

你确定?Demo project: 点击 Home 页任意 Cell push 到子控制器1,点击加号按钮 push 到子控制器2,再次点击加号按钮 popToRootViewController:
027a587aabf874f3fba21a281c2932bf

from lctabbarcontroller.

iTofu avatar iTofu commented on May 29, 2024

注意注释掉 OtherVC 里面的:

[(LCTabBarController *)[UIApplication sharedApplication].keyWindow.rootViewController removeOriginControls];

from lctabbarcontroller.

tbl00c avatar tbl00c commented on May 29, 2024

不要removeFromSuperview, 用setHidden:

from lctabbarcontroller.

llh2010 avatar llh2010 commented on May 29, 2024

还是有重影的问题,不知道怎么解决

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.