IOS perform segue from tab bar item

后端 未结 1 1779
天涯浪人
天涯浪人 2020-12-22 07:59

I have a Tab bar controller with 2 items. The first item is a VC which contains a table view. Clicking on a cell, performs a segue to some other view controller (not an item

相关标签:
1条回答
  • 2020-12-22 08:20

    You need to embed your Item1VC to NavigationController so that when you push from ItemVCto MoviesViewController it will not remove the tabbar, if you doesn't embed the NavigationController then it will push from the main ViewControllerin your case it is TabbarController so that you are not able to see the tabbar.

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