If an app is developed using Storyboard in Xcode 4.2, can this app run in iOS 4.x devices?
No, it can't. Storyboards are only available in iOS 5.
From the UIStoryboard class reference:
Available in iOS 5.0 and later
From Converting to Storyboards Release Notes:
Storyboarding is a new way to create user interfaces for iOS applications, beginning with iOS 5 and Xcode 4.2.
Related
I have been developing an iOS App with iPhone(4-inch) Storyboard. Now I would like to use the same storyboard for iPad also. My iPhone storyboard contains 130+ scenes now.
I need to make it for iPad also.
I tried solution from link:
Converting Storyboard from iPhone to iPad
After following it my Xcode crashes, may be due to many scenes in the single storyboard.
I know about size classes in Xcode 6 and also tried it but the fonts don't update for the iPad size class(Regular Width| Regular Height) on simulator/device with iOS 7 but on iOS 8 it does. Since I have deployment target as iOS 7 I can't overlook the issue.
Can anyone help me with a solution that works on Xcode 5.1.1 of having same iPhone storyboard for iPad(Like a Universal App) as well?
Any help/clue will be appreciated.
Thanks.
Have you tried using size classes?
If that doesn't work, you could always use 2 different storyboards- 1 for the iPhone and 1 for the iPad
Here I have developed the app in IOS6, when I open the App in IOS 7 with Xcode 5 In Collectionview errors are throwing
file://localhost/Users/asaraa/Documents/IOS/Projects/Asaraa/Embassy/UI-Changed/Washington/IOS7/20130918/Mphasis/RootviewController.xib:
error: Class Unavailable: UICollectionView on iOS versions prior to 6.0
How can i resolve this error, Could any body help me please
It looks to me from this description of your error:
UICollectionView on iOS versions prior to 6.0
That you're trying to build an app that has the deployment target (the oldest OS version) set to something older than iOS 6. UICollectionView only works on devices running iOS 6 & newer OS'es. Do you have your project settings set to run this app with iOS 5 or 4?
And if you change it to iOS 6, do you get better results?
UICollectionView didn't exist before iOS 6. You could try the open source PSTCollectionView , which supports iOS 5 and aims to be a drop-in replacement.
The latest SDK (Xcode 4.5) doesn't support armv6 and I need to support it right now, so I don't want to upgrade Xcode. Can I support iPhone 5 screen size and make an app in non letterbox mode on iPhone 5 from the previous Xcode (4.3.2)?
[edit] Comment by Brad Larson, change it all : Apple is now explicitly rejecting applications submitted with the iOS 5.x SDK and iPhone 5 default images, saying "Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
You can build an app that is compatible with iPhone 5 screen size by adding the 640x1136 Default-568h#2x.png in your resources (if the splash screen defined in your Info.plist is Default.png).
Xcode below 4.5 will let you test on iOS6 devices which is a new for Apple as when iOS5 arrived, all previous version of Xcode where not compatible with iOS5 (impossible to test on iOS5 devices).
So, YES you can develop for iOS6 and iPhone5 screen size from Xcode 4.4 or 4.3.
I'm planning to write an iphone application which uses storyboards and ARC. As I know these features come with ios 5. The question is will my application run on ios 4 devices? If not, is there a way to run this application on ios 4 devices?
Thanks..
ARC applications will run on iOS 4, but weak references aren't supported.
Storyboards are not available on iOS 4, period.
No. There isn't. Those are iOS 5 features. While there may be possibilities to port ARC to iOS 4, storyboards are simply not usable on iOS 4.
What's the compatibility of ARC and Storyboard considering devices and iOS?
Will ARC and Storyboard work on iPhone 3G, 3GS, 4 and 4S?
Will ARC and Storyboard work on iOS 4 and 5?
ARC runs with 5.0 or higher, Storyboard also needs iOS 5. Therefore, both are potentially available with the iPhone 3GS and above.
EDIT: Obviously, ARC is also compatible with iOS 4.0 and above, once you don't use weak. I briefly tested it, seems to work. That would mean that the iPhone 3G would also be compatible.