在 Xcode 5 中选择 iOS 6 时更改 GUI [英] Change GUI when selecting iOS 6 in Xcode 5

查看:32
本文介绍了在 Xcode 5 中选择 iOS 6 时更改 GUI的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我使用 Xcode 5 并将部署目标设置为 7.0 时,应用程序在 4 英寸和 3.5 英寸显示器上都能完美运行.

When I am using Xcode 5 and I set the deployment target as 7.0, the application runs perfectly with both 4-inch and 3.5-inch displays.

我已经下载了 iOS 6 SDK.

I have downloaded the iOS 6 SDK already.

当我将基础 SDK 更改为 iOS 6 并将部署目标设置为 iOS 6.1 时,我的 GUI 会以更改每个图像、导航栏、图像和所有其他控件的方式受到影响.

When I change the base SDK to iOS 6 and set the deployment target as iOS 6.1 my GUI is affected in a way that changes every image, navigation bar, images and all other controls.

我没有使用自动布局,并且每个类中有两个 .xib 文件用于一个 UIViewController.

I am not using autolayout and have two .xib files for one UIViewController in each class.

那么,我该如何解决这个问题?

So, how can I get fix this?

提前致谢.

推荐答案

在为 iOS 7 编译时,您使用的是 iOS 7 特定的 GUI 元素 (与 iOS 6 有很大不同).仍然使用 iOS 6 的手机(大约 16%)会因为显而易见的原因看到 iOS 6 GUI 元素,即使您为 iOS 7 编译它也是如此.

When compiling for iOS 7 you are using iOS 7 specific GUI elements (that differs a lot from iOS 6). Phones that are still on iOS 6 (about 16%) will however see the iOS 6 GUI elements for obvious reasons, even if you compile it for iOS 7.

确实没有办法解决这个问题,你应该简单地为 iOS 7 开发,让 iOS 6 用户仍然拥有 iOS 6 GUI 元素.

There is really no way to resolve this, you should simply develop for iOS 7 and let iOS 6 users still have iOS 6 GUI elements.

这篇关于在 Xcode 5 中选择 iOS 6 时更改 GUI的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆