Change tab name in uitabbarcontroller

前端 未结 7 2233
离开以前
离开以前 2020-12-28 13:57

I have a TabBarController set as main controller tab, where names were defined using interface builder. Now I would like to change its names programmatically.

How c

7条回答
  •  借酒劲吻你
    2020-12-28 14:55

    However it is possible to do it in code, it is better to set this directly in Storyboard. How?

    Just tap the appropriate tab bar item inside controller (NOT INSIDE TABBAR CONTROLLER).

    enter image description here

    Then switch to attribute inspector on the Utilities panel.

    enter image description here

    Now you are able to change everything:-)

提交回复
热议问题