简体   繁体   English

在iOS 7.0退出后将带有基本SDK iOS 6.1的应用提交到App Store

[英]Submitting app with base SDK iOS 6.1 to App Store while iOS 7.0 is out

Disclaimer: I'm comparably new to iOS development. 免责声明:我是iOS开发的新手。

We just ended coding our app for iOS 5.0 to 6.1 and we're ready to submit it. 我们刚刚结束了将适用于iOS 5.0的应用程序编码为6.1的工作,并准备提交。 However, iOS 7 is now out and we don't have time to redesign the whole application. 但是,iOS 7已经发布,我们没有时间重新设计整个应用程序。

I updated my IDE to xCode 5 and then copied iOS 6.1 SDK so I can set the Base SDK to iOS 6.1 . 我将IDE更新为xCode 5 ,然后复制了iOS 6.1 SDK,因此可以将基本SDK设置为iOS 6.1 However, when I build the app for iOS 7.0 simulator, it's all iOS 7.0 look and feel again. 但是,当我为iOS 7.0模拟器构建应用程序时,这又是所有iOS 7.0外观。

Is there a way to submit the app to App Store that runs with iOS 6.1 look and feel, even if the user's device has iOS 7.0 installed? 即使用户的设备已安装iOS 7.0 ,是否可以将应用提交到运行iOS 6.1外观的App Store?

Running your app compiled with the iOS 6.1 SDK should run it in 'iOS6 Compatibility Mode' on iOS6. 运行使用iOS 6.1 SDK编译的应用程序,应在iOS6上以“ iOS6兼容模式”运行它。 This means your app will use some of the iOS6 controls, but not all of them. 这意味着您的应用将使用某些 iOS6控件,但不是全部。

For example: The UINavigationController will look and work like iOS6, as will the keyboards, DatePickers, and UISwitches. 例如:UINavigationController的外观和工作方式类似于iOS6,键盘,DatePickers和UISwitches也是如此。

However, Alert dialogs will be iOS7, as will a couple of other things like (annoyingly) UISegmentedControls. 但是,“警报”对话框将是iOS7,另外还有一些讨厌的事情,例如UISegmentedControls。

Also, if you have used default-styled Round Rect UIButtons, on iOS7 they'll appear just as text (no rounded background). 另外,如果您使用了默认样式的Round Rect UIButton,则在iOS7上,它们将以文本形式显示(无圆形背景)。

You need to download again XCode 4.5 with SDK for iOS 6.1. 您需要再次下载带有iOS 6.1 SDK的XCode 4.5。 And use that XCode to build and submit your application. 并使用该XCode生成并提交您的应用程序。

I quote the following from Ben answer: 我从Ben的回答中引用以下内容:

However, Alert dialogs will be iOS7, as will a couple of other things like (annoyingly) UISegmentedControls. 但是,“警报”对话框将是iOS7,另外还有一些讨厌的事情,例如UISegmentedControls。

If more than these controls are having the look and feel of iOS 7.0 and you don't like that. 如果不止这些控件具有iOS 7.0的外观,那么您就不喜欢这样。 then, go with Sha answer. 然后,跟莎回答。 and reinstall Xcode 4.5. 并重新安装Xcode 4.5。

My personal experience 我的个人经历

I built my app with XCode 4.5 and sdk 6.1 and published my apps and it's working perfectly on iOS 7.0 with the look and feel of 6.1 except the Alert Dialogs as Ben said. 我使用XCode 4.5和sdk 6.1构建了我的应用程序,并发布了我的应用程序,除了Ben所说的“警告对话框”,它在6.1的外观和感觉上都可以在iOS 7.0上完美运行。

I downloaded xCode 5.0 and built with sdk 7.0 but my problem was more than a look and feel. 我下载了xCode 5.0,并使用sdk 7.0进行了构建,但我的问题不仅仅是外观和感觉。 my app. 我的应用 crashed. 坠毁。 I didn't copy sdk 6.1 as you did so I didn't experience what you have. 我没有像您那样复制sdk 6.1,所以我没有遇到任何问题。 and can't tell if building with Xcode 5.0 and Build with sdk 6.1 will have all the look and feel of 7.0 iOS on iOS 7.0. 而且无法判断在iOS 7.0上,使用Xcode 5.0和sdk 6.1进行构建是否具有7.0 iOS的所有外观。 I personally can't see that at all. 我个人根本看不到。

If you really have this problem. 如果您真的有这个问题。 Go with re-installing XCode 4.5 and it will work. 重新安装XCode 4.5,它将起作用。 I did exactly the same downgraded XCode and SDK. 我做了完全一样的降级的XCode和SDK。 then published and all worked just fine. 然后发布,一切都很好。

I can't understand how is the XCode version and not the SDK version have anything to do with the look and feel as Sha said. 正如Sha所说,我不明白XCode版本和SDK版本如何与外观有关。

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

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