iOS 6中对7的外观构建设置 [英] iOS 6 vs 7 appearance build settings

查看:171
本文介绍了iOS 6中对7的外观构建设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否需要一个应用程序的部署目标,以获得在iOS 7的外观和iOS 7设备设置到iOS 7?

Does the deployment target of an app need to be set to iOS 7 in order to get the iOS 7 appearance on and iOS 7 device?

这是在测试期间这种方式,它仍然好像它是现在由于我的测试。

It was that way during the beta and it still seems like it is right now due to my testing.

我目前正在建设使用的是iOS 7 SDK和部署目标 - 让只是说<的iOS 7,应用程序会使用iOS 6的外观在我的iOS 7设备。

I am currently building using iOS 7 SDK and deployment target of - let just say < iOS 7. The app runs using the iOS 6 appearance on my iOS 7 device.

如果我与iOS 7 build作为部署目标,该设备获得了iOS 7的用户界面。

If I build with iOS 7 as the deployment target, the device gets the iOS 7 UI.

这将是巨大的,如果有人可以证实。谢谢。

It would be great if someone could confirm. Thanks.

其它生成设置:
体系结构:$(ARCHS_STANDARD_32_BIT)的ARMv6

Other build settings: Architectures: $(ARCHS_STANDARD_32_BIT) armv6

有效Archs:ARMv6的ARMv7的armv7s

Valid Archs: armv6 armv7 armv7s

我看了这问关于构建设置了iOS 6和7的外观等问题。包括这一个:<一href=\"http://stackoverflow.com/questions/18800487/is-there-a-way-to-have-an-app-run-and-display-as-ios-6-on-a-iphone-with-ios-7/18800569#18800569\">is有没有办法有一个应用程序运行,并显示为上与iOS 7 iPhone iOS 6的?
我也没找到关于ADC此的任何信息。 ADC只是提到了与iOS 6等兼容

I have read other questions which ask about the iOS 6 and 7 appearance in relation to build settings. Including this one: is there a way to have an app run and display as ios 6 on a iphone with iOS 7? I also could not find any information for this on ADC. ADC just mentions "compatibility with iOS 6, etc"

更新:
这可能X上code 4.6构建适用于iOS 7涉及到了我。 X code 5给我的编译器生成错误,相关的问题是,<一个href=\"http://stackoverflow.com/questions/19071688/x$c$c-5-missing-compiler-spec-llvm-4-2-error\">X$c$c 5英寸缺少规范的编译器LLVM 4.2&QUOT;错误

更新(13年10月14日):
我在X code 5解决建筑的生成错误,并已证实,在X code 5与SDK套建筑到的的iOS 7 的给出的iOS 7的用户界面,即使部署目标中的&LT; iOS的7 的。

Update (10/14/13): I have resolved the build errors of building in Xcode 5 and have confirmed that building with SDK set to iOS 7 in Xcode 5 gives an iOS 7 UI even with a deployment target of < iOS 7.

一个为那些谁找到这个页面表:

A table for those who find this page:

X $ C $ 4.6ç


  • 的iOS 7 SDK


  • 的iOS 7的部署


  • 的iOS 7设备

    • 的iOS 7的UI


    • N / A
      结果

    iOS 6的部署


    • 的iOS 7设备

      • 的iOS 6 UI

      • iOS 7 device
        • iOS 6 UI

        • 的iOS 6 UI

        的iOS 6 SDK


        • iOS 6的部署


        • 的iOS 7设备

          • 的iOS 6 UI


          • 的iOS 6 UI

          X code 5


          • 的iOS 7 SDK


          • 的iOS 7的部署


          • 的iOS 7设备

            • 的iOS 7的UI


            • N / A

            iOS 6的部署(或更低)


            • 的iOS 7设备

              • 的iOS 7的UI

              • iOS 7 device
                • iOS 7 UI

                • 的iOS 6 UI

                推荐答案

                没有!您可以设置部署目标为6.1例如和运行6.1设备它看起来像6.1,而在iOS7设备它看起来就像7.0。

                No! You can set the deployment target to be 6.1 For example and on devices running 6.1 it will look like 6.1 while on iOS7 devices it will look like 7.0.

                当然,如果你部署目标设定为7.0它可以在7.0及以上的设备上运行。

                And of course if you set deployment target to 7.0 it can ONLY run on 7.0 and up devices.

                此外,请确保您设置基地的SDK为最新的iOS。并检查你的目标设定不重写你的项目设置。真的是你应该选择这两个中的一个,只有把它放在地方,让它流过其他。我使用的目标设置居多。

                Also, make sure you set Base SDK to "Latest iOS". And check that your Target settings are NOT overriding your Project Settings. Really you should pick one of those two and only set it on place and let it flow through to the other. I use Target settings mostly.

                您想您的基本SDK设置为您所使用的最高水平。结果
                你想你的部署目标设置为ppared支持最低的$ P $。结果
                操作系统将做休息。

                You want to set your BASE SDK to the highest you're using.
                You want to set your DEPLOYMENT target to the LOWEST your prepared to support.
                The OS will do the rest.

                这篇关于iOS 6中对7的外观构建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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