Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

like image 365
Vikas Ojha Avatar asked Jun 04 '12 06:06

Vikas Ojha


2 Answers

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)
like image 162
Abby Chau Yu Hoi Avatar answered Sep 23 '22 17:09

Abby Chau Yu Hoi


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).

like image 32
Michael Dautermann Avatar answered Sep 22 '22 17:09

Michael Dautermann