简体   繁体   中英

iOS Deployment Target for Universal App

Good morning, stackoverflow folks.

I'm having a small problem, and I can't find a answer via google, stackoverflow, or from the Apple documentation. 答案。 Perhaps I am not searching for the right keywords. Anywho, on with my simple, stupid question(s):

I'm currently developing a universal app. , yet there is only one field for the setting. ,但设置只有一个字段。 Should I be setting this value to 3.2 or 4.0? Isn't 3.2 an iPad-only SDK? Does this value need to be set in the Project Build Settings and the Target Build Settings? 项目构建设置和目标构建设置进行设置?

Please note: I'm using as the Base SDK, and after reading the following, I still can't derive a definitive answer: 作为基本SDK,在阅读以下内容后,我仍然无法得出明确的答案:

http://developer.apple.com/library/ios/#documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html

Any help in the matter would be greatly appreciated.Thanks!

You should set Base SDK to the latest, and set Deployment Target to 3.2. THEN ––and this is important––if you use any API that is available ONLY in 4.0 or later (that is, NOT in 3.2), then you must do a runtime check to see if that API is actually available, and if not, do something else.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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