从导航栏视图控制器导航到标签栏视图控制器

Navigate from a navigation bar view controller to a tab bar view controller

这种方法有什么问题?它背后没有编码。但是,我看不到右侧最后一个场景的项目和标题(因为它们的标题设置为 "cannot see")。

即使我添加了后退按钮,并将它的标题设置为某些内容,它仍然显示默认的后退按钮。

The storyboard

您正在将 UITabBarViewController 实例推送到 UINavigationViewController 堆栈。在这种情况下,导航栏由 UINavigationController 管理,这样您就不会在导航栏中看到 "Cannot see" UIBarButtonItem。

UITabBarViewController 如果它是应用程序的 rootViewController 则效果最好。看看这个 看看应该如何使用 UITabBarViewController。