简体   繁体   English

Xcode导航栏,选项卡栏,表格视图标题未显示

[英]Xcode navigation bar, tab bar, table view title not showing

I have problem that navigation bar title is not showing, and first row of table is not showing, that happend when i embeded in tab bar controller. 我有一个问题,当我嵌入选项卡栏控制器时,导航栏标题没有显示,表格的第一行也没有显示。 See images: 查看图片:

在此处输入图片说明

在此处输入图片说明

在此处输入图片说明

How to fix this, what is the problem? 如何解决这个问题?

The controller that is on top of NavigationControllers navigation stack is TabBarController so it will display it's title not the TableViewControllers which is TabBarControllers child. NavigationControllers导航堆栈顶部的控制器是TabBarController,因此它将显示其标题,而不是TableViewControllers的标题,后者是TabBarControllers的子级。

This question may help you. 这个问题可能对您有帮助。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM