Giter VIP home page Giter VIP logo

Comments (7)

kingloveyy avatar kingloveyy commented on May 22, 2024

我也遇到这个问题了呢

from cyltabbarcontroller.

ChenYilong avatar ChenYilong commented on May 22, 2024

@kingloveyy 暂时的解决方案是,只设置一处,比如如果想在 VC 里设置,就没必要在 appdelegate 里设置了。方便的话,加我 QQ1356701892 详聊下

from cyltabbarcontroller.

UniverseKing avatar UniverseKing commented on May 22, 2024

这个问题有解决吗,两处title不一样就有问题哦

from cyltabbarcontroller.

kapop avatar kapop commented on May 22, 2024

如题+1

from cyltabbarcontroller.

ChenYilong avatar ChenYilong commented on May 22, 2024

好的,我会看下该问题。也欢迎大家提pr

from cyltabbarcontroller.

maqihan avatar maqihan commented on May 22, 2024

楼主分享的这个自定义tabbar我研究了一下,自定义的方式很受启发,谢谢楼主。同时在使用中我也发现了这个顺序错乱的问题,通过实验已经知道这个问题出在哪里并修复了这个问题,只在楼主自定义的tabbar的类中加入一个方法就可以了,想要的朋友加我1250307429,我也是第一次用这个东西,不清楚这样修改系统的tabbar对于审核有没有问题,应用正在审核中。希望没啥问题。。。

from cyltabbarcontroller.

ChenYilong avatar ChenYilong commented on May 22, 2024

@maqihan @kapop @UniverseKing @kingloveyy

v1.0.7版本已经修复了该 bug,请升级重试下。

虽然修复了,但也请遵循如下规则:
请勿使用 self.title = @"同城"; 这种方式,请使用 self.navigationItem.title = @"同城";

self.title = @"同城";

by this way, it may cause bug like this:

enter image description here
规则如下:

    self.navigationItem.title = @"同城";    //✅sets navigation bar title.The right way to set the title of the navigation
    self.tabBarItem.title = @"同城23333";   //❌sets tab bar title. Even the `tabBarItem.title` changed, this will be ignored in  tabbar.
    self.title = @"同城1";                  //❌sets both of these. Do not do this‼️‼️ This may cause something strange like this : http://i68.tinypic.com/282l3x4.jpg .

from cyltabbarcontroller.

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.