In Storyboard there is a very convenient thing – TabBarController, if you need a menu with different interactions between tabbar controllers, this will help you a lot. It is simple and very easy to use. Each bar tab is linked to the view controller to configure the tabs, you need to assign view controllers.

Create TabBar in Storyboard, or register a class: class TabBarViewController: UITabBarController, UITabBarControllerDelegate {}

Development GameDev Programming ProgrammingTutorial SwiftHelp