How to use Navigation Controller inside of UITabBarController with Storyboard on Swift

后端 未结 2 1888
忘了有多久
忘了有多久 2020-12-01 05:27

\"enterI\'m using swift. I would like to use Navigation inside of TabBar with Storyboard. At f

2条回答
  •  悲哀的现实
    2020-12-01 06:23

    Here's a rough overview on how your Storyboard will look like. You have to use Tab Bar Controller as a rootViewController.

    Embed UITableViewController to a UINavigationController, so that you always have a back button.

    Storyboard design

    There are endless possibilities for improvement as long as you follow Combined View Controller Interfaces. Here's what a demo will look like with a common tab as you wanted -

    enter image description here

提交回复
热议问题