Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS storyboard on iOS 4?

Well, I got the new XCode and I saw it's nice new storyboard features. It's really nice and I LOVE IT. I spent about 2 or so weeks making a new app that I wanted to update. However, when submitted it through xcode, it gave me this error

The Bundle is invalid. The key UIRequiredDeviceCapabilities in the Info.plist may not contain values that would prevent this Application from running on devices that were supported by previous versions.

So I went back and set the deployment target to 4.0, but it wouldn't let me build. Soon after I realized storyboards were only compatible on iOS 5. Is there anyway I could get it working on iOS 4 by converting them to XIB's somehow?

I really don't want to just submit a new app that's iOS 5 compatible, because most people don't have iOS 5...

Thanks.

like image 547
iosfreak Avatar asked Nov 20 '11 05:11

iosfreak


People also ask

Is storyboard deprecated?

SwiftUI + UIKit So although storyboards are not deprecated yet (and likely won't be until the next few years), there is no requirement to learn to work with these if you are new to iOS development.

Do you need another storyboard for iPad UI?

No need for two storyboards any more in iOS 8! We can use Adaptive UI in order to tailor the same storyboard all different sizes of iPad and iPhone. Basically we can handle different screen sizes by defining elements of our UI in storyboard for different size classes.

Are storyboards still used Swift?

SwiftUI is not replacing storyboards ; it may replace xib in some cases. But IMHO, SwiftUI is still far from providing the capabilities of xib. Just read in SwiftUI forum to see how developers are struggling to replicate what is easily done with xib and storyboards and autoLayout.


1 Answers

According to this, storyboards are absolutely not compatible with iOS4 as they rely on new runtime classes.

like image 156
Dimme Avatar answered Sep 25 '22 07:09

Dimme