ios - Xcode 导航栏、标签栏、 TableView 标题不显示

标签 ios xcode uitableview uinavigationbar uitabbar

我遇到导航栏标题未显示的问题,表格的第一行未显示,这是在我嵌入选项卡栏 Controller 时发生的。 查看图片:

enter image description here

enter image description here

enter image description here

如何解决这个问题,这是什么问题?

最佳答案

位于 NavigationControllers 导航堆栈顶部的 Controller 是 TabBarController,因此它将显示它的标题,而不是作为 TabBarControllers 子级的 TableViewControllers。

This question可能对你有帮助。

关于ios - Xcode 导航栏、标签栏、 TableView 标题不显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/28617672/

相关文章:

swift - 验证按钮单击并更改 Controller View iOS

ios - 将 UIView 从底部移动到顶部

ios - 覆盖我的自定义 UIView 子类的初始化程序

通用图像的 iOS 图像大小(不是导航和工具栏)

iphone - 字符串通过追加字符串

iphone - 在iPhone应用程序中显示N深度的分层数据的示例代码

ios - 当 detailTextLabel 变为多行时,TextLabel 向上移动

IOS:自定义 UITableViewCell - 滚动后的奇怪行为

javascript - Nativescript 从原生图像中获取 base64 数据

ios - 打开方向功能不以编程方式打开苹果 map