UINavigationController, and TabBarController programmatically (no storyboards)
问题 Currently, my AppDelegate file contains this code to establish the CustomTabBarController as the rootViewController: window = UIWindow(frame: UIScreen.main.bounds) window?.makeKeyAndVisible() window?.rootViewController = CustomTabBarController() I want my app to always have the CustomTabBarController on the bottom, but I want each tab to have a navigation controller. Here is the code I used to set up my tabBarController: class CustomTabBarController: UITabBarController { override func