It can’t be done.
You can fake it by making your own tab controller, so long as you figure out a way to honor the surrounding UINavigationController, meaning a navigation bar atop and optional (disallowed?) tool bar below all tabbed views.
Or you can use a modal segue to display the UITabBarController. That means:
- Convert the class to UIViewController.
- Make it implement UITabBarDelegate (if you wish). That means overridden delegate methods are no longer there to override.
- Create a fake UINavigationBar since you cannot embed thi
adding a navigation bar with a Done/Close bar button and perhaps an exit segue.
h/t
- UITabBarController inside a UINavigationController (2011) describes a third method, making the tab bar controller the root and then doginscreen swapping (I think).
- Stack Overflow "Tab bar controller inside a navigation controller, or sharing a navigation root view” (2009) describes the first method.