设置 TabBar
最简单的方法是什么?高度?
我想只添加一个带有按钮的工具栏,但是如何在 ViewControllers
之间导航?如果不是模态的?我想复制精确的TabBarController
行为,但具有自定义高度和按钮。
谢谢!
最佳答案
您无法更改 tabBar 的大小。你必须自己动手。看看容器 UIViewControllers http://developer.apple.com/library/ios/#documentation/uikit/reference/UIViewController_Class/Reference/Reference.html#//apple_ref/doc/uid/TP40006926-CH3-SW81
本质上,您将创建自己的 TabBarController,该 Controller 在底部有您自己的 tabBar,并且您将有 subview Controller ,按下按钮时将显示它们。
关于iphone - iOS 自定义 TabBar 高度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13293839/