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

查看:26
本文介绍了iOS 6 vs 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 7 设备上使用 iOS 6 外观运行.

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 作为部署目标进行构建,设备将获得 iOS 7 UI.

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

有效 Arch:armv6 armv7 armv7s

Valid Archs: armv6 armv7 armv7s

我已阅读其他问题,这些问题询问与构建设置相关的 iOS 6 和 7 外观.包括这个:有没有办法让应用在装有 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"

更新:这可能与我在 Xcode 4.6 上为 iOS 7 构建有关.Xcode 5 在构建时给我编译器错误,相关问题是 Xcode5 缺少编译器规范 LLVM 4.2"错误

Update: This may be related to me building for iOS 7 on Xcode 4.6. Xcode 5 gives me compiler errors on build, the related question is Xcode 5 "Missing compiler spec LLVM 4.2" error

更新 (10/14/13):我已经解决了在 Xcode 5 中构建的构建错误,并确认在 Xcode 5 中使用 SDK 设置为 iOS 7 的构建会提供 iOS 7 UI,即使部署目标为 <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:

Xcode 4.6

  • iOS 7 SDK

  • iOS 7 部署

  • iOS 7 设备
    • iOS 7 用户界面
    • 不适用

    iOS 6 部署

    • iOS 7 设备
      • iOS 6 用户界面
      • iOS 6 用户界面

      iOS 6 SDK

      • iOS 6 部署

      • iOS 7 设备
        • iOS 6 用户界面
        • iOS 6 用户界面

        Xcode 5

        • iOS 7 SDK

        • iOS 7 部署

        • iOS 7 设备
          • iOS 7 用户界面
          • 不适用

          iOS 6 部署(或更低版本)

          • iOS 7 设备
            • iOS 7 用户界面
            • iOS 6 用户界面

            推荐答案

            不!您可以将部署目标设置为 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.

            另外,请确保将 Base 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.

            您想将 BASE SDK 设置为您正在使用的最高版本.
            您想将 DEPLOYMENT 目标设置为您准备支持的最低水平.
            操作系统将完成剩下的工作.

            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 vs 7 外观构建设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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