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

前端 未结 6 1098
刺人心
刺人心 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:16

    If you embed a navigation controller before your scene, you then can edit it like normal.

    Select your storyboard reference then:

    Go to the top and click Editor > Embed > Navigation Controller

    Tab bar controller with embedded navigation controller and linking storyboard reference

提交回复
热议问题