简体   繁体   English

标签栏在iOS 5和iOS 6中的位置

[英]Positioning of Tab Bar in iOS 5 and iOS 6

I am making app in iphone. 我正在用iPhone制作应用程序。 I had used the tab bar. 我曾经使用过标签栏。 My app support both iOS 5 and iOS 6. 我的应用程序支持iOS 5和iOS 6。

But if i make app screens in Retina 4 than my tab is not in position. 但是,如果我在Retina 4中制作应用程序屏幕,则我的选项卡将不在位置。 The screenshot is given below 屏幕截图如下

在此处输入图片说明

在此处输入图片说明

If you are using Autolayout check if the tabbar has a constraint to be on the bottom. 如果您使用的是“自动布局”,请检查选项卡栏的约束是否在底部。 If not check wether the tabbar is "fixed" on the bottom with the autoresize feature of your View. 如果不检查,是否使用视图的自动调整大小功能将标签栏“固定”在底部。

This is the Autoresize Feature but not correct for your tabbar your tabbar would need the bottom restriction 这是自动调整大小功能,但不适用于您的标签栏,您的标签栏需要底部限制 在此处输入图片说明

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

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