Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/27.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Objective c 我们可以将选项卡栏放在顶部吗>;?_Objective C_Xcode4.5 - Fatal编程技术网

Objective c 我们可以将选项卡栏放在顶部吗>;?

Objective c 我们可以将选项卡栏放在顶部吗>;?,objective-c,xcode4.5,Objective C,Xcode4.5,假设我喜欢标签栏样式的按钮,我想把它放在屏幕上的某个地方 我可以这样做吗 这是tabbar的文档 Provides a mechanism for displaying a tab bar at the bottom of the screen and supports the display and selection of tab bar items (instances of UITabBarItem). You can use UITabBarDelegate to specify cu

假设我喜欢标签栏样式的按钮,我想把它放在屏幕上的某个地方

我可以这样做吗

这是tabbar的文档

Provides a mechanism for displaying a tab bar at the bottom of the screen and supports the display and selection of tab bar items (instances of UITabBarItem). You can use UITabBarDelegate to specify custom views for tab bar items.

否。根据定义,选项卡栏位于屏幕底部——顶部是为导航栏保留的。

是的,您可以将其置于顶部,但它可能与HIG相反。但是,我不明白你的问题的意图——你显然试着把它放在顶部,那么为什么要问一个你已经知道答案的问题呢?

那么为什么我可以将uitabar一直拖到顶部呢?
uitabar
在屏幕上的任何特定位置都没有技术原因。我有一个iPad应用程序,屏幕上有一个标签栏。如果使用得当,应该没有问题。但是没有人能确定苹果审查小组会说什么。rmaddy,你能把这变成一个答案吗。是的,苹果评论小组说了什么?为什么不使用工具栏呢?标签栏应该位于视图的底部,苹果公司优先考虑应用程序之间的一致性(你可以在HIG中看到)。所以最好对你的设计稍加调整。我想知道如果我把它放在上面,会不会出什么问题。我注意到我也可以把导航条放在任何地方。事实上,我不能把导航条放在它应该在的最上面。