Compatibility of ARC and Storyboard - iphone

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.

Related

Using Single Storyboard for iPhone & iPad on Xcode 5.1.1

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

Adsupportframework works on iOS5 simulator

Why does Adsupportframework work on my iOS5 simulator? I thought if you enabled adsupportframework as a requirement on a iOS 5 simulator it would cause the simulator to crash. When I enable the social framework this cause my iOS 5 simulator to crash which it suppose to. This is kind of bugging me.
AdSupport framework is introduced in iOS6. To avoid crash in device with iOS5 or below, just make it optional framework. See image reference here:

Using storyboards and ARC for ios 4

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.

Storyboard in IOS 5 SDK but also target IOS 4 /3?

I love the idea of using storyboards, but unfortunately when I try to test this using IOS 4,
I change the deployment target to IOS 4 and I can't compile this anymore.
it said that Storyboards is not supported for IOS 4.3 or later.
So is it useful to use storyboards?
How can I write iPhone apps using storyboards so that they can be compatible with IOS 4?
I don't think that there's a reasonable way of doing it.
You could instantiate your Storyboards programatically (I think) but then you'd need something to fall back on on pre-iOS5 devices. And what would that be? Probably XIBs... which also continue to work on iOS5. You'd end up implementing everything twice. So, as I say, it may be possible but it's probably not practical.

If I convert my app to ARC, will it still work on devices running iOS 4?

I just converted my app to ARC, will the update still work on devices that are running iOS 4?
Also, what about the new UIAlertView Text input styles?
ARC code runs on iOS 4.0+ and Mac OS X 10.6+, however, you can't use the zeroing-weak references. That's only supported on iOS 5+ and Mac OS X 10.7+.
This is documented in Transitioning to ARC Release Notes.