ios - Xcode - 在 show segue 上用工具栏替换导航栏

标签 ios interface-builder toolbar

这就是我想做的。

segue : Push ---- 继续:显示 ----> enter image description here

在目标页面上,我想从上一页隐藏标签栏显示工具栏

当我在 Storyboard 上选中“Hide bottom bar on push”时,目标页面上的工具栏也会消失。

最佳答案

我认为您应该更改问题的标题,因为您想用 toolBar 替换 tabBar 并保留 navigationBar。至少这是我从你的草图中了解到的。

至于问题,您是否尝试过在您的第一个 View 中隐藏 viewWillDisappear 中的 tabBar?

关于ios - Xcode - 在 show segue 上用工具栏替换导航栏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29618639/

相关文章:

iPhone模拟器位置

iOS 自动布局 : Issues with 2 variable sized boxes and 1 fixed sized box

javascript - chrome.infobars Chrome 工具栏 API 的发布时间表

ios - 自动布局 : How to create a simple UIView over keyboard using Swift

ios - 添加约束后 UIButton 图像拉伸(stretch)

ios - UITableView 插入行崩溃

iphone - 当我更改字体时 UIButton 会调整大小吗?

android - 工具栏不适用于使用 appcompat v7 的前 Lollipop 设备

ios - 由于未捕获的异常 'NSInternalInconsistencyException' 而终止应用程序

ios 5 - 在 Storyboard上反射(reflect)的代码