Use Storyboard References While Retaining Icons & Text for Tab Bar Controller

前端 未结 6 1051
刺人心
刺人心 2021-01-17 08:45

I started refactoring one of my projects to make the code easier to manage and the Tab Bar Controller lost its icons for which tab represents what. Without this I\'m a bit l

6条回答
  •  礼貌的吻别
    2021-01-17 09:28

    First, in the storyboard where the tab bar controller is, there should be a scene for the referenced storyboard.

    Just click on the scene that tab is associated with and click the tab bar at the bottom, then go to the attributes inspector, and you'll be able to assign a new icon to it.

提交回复
热议问题