Live data from Hacker News

iOS 7 only is the only sane thing to do

berzniz.com

51–60 of 82 posts

Re: iOS 7 only is the only sane thing to do

#51

Sheesh. Am I the only one still using a first-gen iPad stuck with iOS 5? Just a couple weeks ago my sister wanted to install an app that turned out to be iOS 7 only. Grr.

I feel your pain. I'm finding even the web browser on the first gen ipad isn't working on some sites I visit.

sigh..

Re: iOS 7 only is the only sane thing to do

#52

I still target 5.1 because it does 90% of what 7 does but still works on first gen iPads. Apple has a tendency to only implement software features on their newest OS instead of back porting to earlier versions, because it sells more devices. It's unleet for developers to encourage this. I think a reasonable prime directive for API developers is that if hardware can do something then software shouldn't be prevented fr…

If I started developing tomorrow, and have no 5.1 device, how can I do QA? I have an iPhone 4 that was never upgraded, but I can either keep it as is or upgrade to 7

Apple is making it really hard to support a version that you didn't target from day 1. And it is hard to target older versions from day one

Re: iOS 7 only is the only sane thing to do

#53

There isn't anything in this article that explains why you can't support both. The only sentence about this is "We can’t leverage what iOS 7 has to offer and a lot of the UI is compromise.", which doesn't cite any difficulties they've run into. The only iOS 7 features they mention are UIDynamics and the receding keyboard—the rest are iOS 5/6 features.

There are some excellent 3rd-party frameworks and libraries for doing spring-based animations that work on previous versions of iOS. My favorite (that I still use and favor above UIDynamics even on iOS 7-only apps) is JNWSpringAnimation which uses CAKeyframeAnimations to do amazing springy, bouncy animations. The same code is wholly portable to Mac apps as well which is an awesome bonus.

https://github.com/jwilling/JNWSpringAnimation

Re: iOS 7 only is the only sane thing to do

#54

I still target 5.1 because it does 90% of what 7 does but still works on first gen iPads. Apple has a tendency to only implement software features on their newest OS instead of back porting to earlier versions, because it sells more devices. It's unleet for developers to encourage this. I think a reasonable prime directive for API developers is that if hardware can do something then software shouldn't be prevented fr…

What percent of your user base is still using 5.1?

The truth is that the original iPad had very little RAM. I imagine there is a very good reason that iOS 6 (and up) didn't make it onto that device.

Re: iOS 7 only is the only sane thing to do

#55

Interesting - I did not know about the new receding keyboard functionality. For those curious, you can simply set a boolean on any UIScrollView or subclass to make the keyboard recede like in the Messages app.

I wonder, what do they consider very painful regarding to having this functionality on iOS < 6. Sure it's not just setting a single property, but [UIView endEditing:] and UIScrollViewDelegate protocol was available since iOS 2.

Re: iOS 7 only is the only sane thing to do

#56
post #6
post #4

Earlier quoted context omitted.

Yeah, that's a great feature. One open issue is that from time to time a breaking change to our API is needed and a force-upgrade is forced on the app users. We try to avoid it, but it happens. The next time this happens, it's really goodbye iOS 6 users.

This year, Apple's "12 Days of Gifts" app only runs on iOS7. I don't know if that was intentional, but it seems likely.

Slightly off topic here. I'm a bit baffled by that app. It's a fugly - it seems like a pre ios 7 app that was resurrected in a few days and isn't very Appley at all. I wouldn't call is skeuomorphic, but it isn't the new(ish) flat look. The main screen's background just looks like someone forgot to include the artwork. Its a flat grey though, so must have been chosen. The clunky FAQ page isn't nice either, and a straight link to a web page would have been nicer IMHO.

Re: iOS 7 only is the only sane thing to do

#57
post #52

I still target 5.1 because it does 90% of what 7 does but still works on first gen iPads. Apple has a tendency to only implement software features on their newest OS instead of back porting to earlier versions, because it sells more devices. It's unleet for developers to encourage this. I think a reasonable prime directive for API developers is that if hardware can do something then software shouldn't be prevented fr…

If I started developing tomorrow, and have no 5.1 device, how can I do QA? I have an iPhone 4 that was never upgraded, but I can either keep it as is or upgrade to 7 Apple is making it really hard to support a version that you didn't target from day 1. And it is hard to target older versions from day one

If you're serious enough to want to target 5.1, you'd get a device that supports it. They're pretty trivial to come by at bargain prices.

Re: iOS 7 only is the only sane thing to do

#58

Actually, that doesn't seem very sane to me. Why are we doing additional work for functionality that we already created, and losing support for people on older versions? Sure if you are a making a new app it makes sense to use great new features. It doesn't make sense to delete code that is working and redo it just because the new way is easier. 0 effort >>>> small effort times 10.

"It doesn't make sense to delete code that is working and redo it just because the new way is easier." Less code to maintain >>> custom written code that might be prone to break on newer versions of the OS. It's definitely what I would do.

While I agree that less code is better, is it the highest ROI on your time compared to actually improving the app, or maybe making a new one? It might break in the future, it might not. What you change it to might break in the future too. Why not wait until it breaks to rip out and rewrite working code?

Re: iOS 7 only is the only sane thing to do

#59
post #24
post #14

Earlier quoted context omitted.

Our app is iPhone only, but this is a great point to remember for anyone thinking about dropping the non-retina image.

Unfortunately, an app cannot be made `-568h` only. And -[UIImage imageWithName:] does not support `-568h` infix.

There's nothing stopping you from swizzling that method for one that does, though. I've done it without any apparent problems.

Re: iOS 7 only is the only sane thing to do

#60

Sheesh. Am I the only one still using a first-gen iPad stuck with iOS 5? Just a couple weeks ago my sister wanted to install an app that turned out to be iOS 7 only. Grr.

No. And I hope there are a lot of first-gen iPads still in use, since the alternative would mean millions of abandoned pieces of hardware, rather than just millions of us abandoned users. If only I'd had the hindsight to stick with iOS 4 - at least my tablet would then be usable without inducing stress, fury, and bitter regret.
Post reply on HN