How within a tab bar controller do I segue from one view controller to another and retain the tab bar?

前端 未结 1 1903
刺人心
刺人心 2020-12-30 14:10

I have an application with several view controllers controlled from a tab bar controller. From one of these view controllers I want to (on clicking a button) segue to anoth

相关标签:
1条回答
  • 2020-12-30 14:44

    From your explanation, I don't think you want a modal controller. Modal is used to overlay, rendering your tab bar useless. From your storyboard, select your segue and select push, not modal.

    enter image description here

    Push vs Modal (Note the tab bar):

    enter image description here enter image description here

    0 讨论(0)
提交回复
热议问题