简体   繁体   中英

Minimum version for Storyboards in xcode iphone

I am working on Storyboards.I need to know the minimum version of ios that i can set befor making the Build and submit on App store.Can i use ios 4.0 as a target.Will it run on version below ios 5...? Is there any solution to it.?

Any help would be appreciated.

Thanks Vikas

iOS 5.0 is what introduced Storyboard capabilities.

If you look on this Apple page:

iOS 5 Release Notes

"Storyboards" is one of the fine new features they introduced with this OS. It is not backwards compatible.

If you want to support iOS 4, you must use good ol' XIB files (which will also work in iOS 5 & newer).

you may have seen the following error message: Storyboards are unavailable on iOS 4.3 and prior but however, Updating Xcode to the latest version (4.3.1) does not help either.

Here is a trick to modify the project for storyboards: iOS5 Storyboard error: Storyboards are unavailable on iOS 4.3 and prior

>Open XXXXXX.storyboard
>
>Open Identity and Type tag in your right view of Xcode.
>
>Set the value of Development in Document Versioning to "Xcode 4.2" (my default value is "Default Version (Xcode 4.1)".
>
>Change the value of Deployment from Project SDK Version (iOS 5.0) to iOS 5.0, then back to Project SDK Version (iOS 5.0)

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