TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

iOS 7 only is the only sane thing to do

117 pointsby berznizover 11 years ago

19 comments

zackmorrisover 11 years ago
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&#x27;s unleet for developers to encourage this.<p>I think a reasonable prime directive for API developers is that if hardware can do something then software shouldn&#x27;t be prevented from running on it. Sure there are arguments for speed&#x2F;responsiveness but most of these are straw men because the real bottlenecks are somewhere else (reading from flash memory, internet lag etc). The only real hardware constraints I hit daily are limitations in OpenGL or limited ram (which wouldn&#x27;t be an issue if proper virtual memory had been in place from the beginning so we didn&#x27;t have to use mmap).<p>This kind of software &quot;truthiness&quot; is taking us further and further from computer science.
评论 #7007799 未加载
评论 #7008260 未加载
评论 #7007656 未加载
评论 #7007412 未加载
评论 #7008413 未加载
guptaneilover 11 years ago
Great points, except for &quot;@2x only.&quot; If your app supports iPads, then the iPad 2 and iPad Mini (first generation) are both non-Retina screens and are still available for sale directly from Apple. Given Apple&#x27;s 3 year support cycles, iOS 10 will be the first iOS that can fully drop support for non-retina displays <i>if</i> the iPad 2 and original iPad mini are discontinued by the end of this year.
评论 #7006028 未加载
评论 #7006633 未加载
Maascampover 11 years ago
Seems more like iOS 7 is the only <i>convenient</i> thing to do. That&#x27;s fine, but the current title makes it read more like a weak attempt to justify not wanting to support older versions.
mikekover 11 years ago
Pull To Refresh - available in iOS 6.<p>UIViewController Containment APIs. iOS 5.<p>Custom Tab Bar. iOS 5<p>Custom Navigation bar. iOS 5<p>HTML Strings. iOS 7<p>@2x only. iOS 7<p>Flat out. iOS 7<p>viewDidUnload. iOS 6<p>AutoLayout. iOS 6<p>UIDynamics. iOS 7<p>Receding keyboard like the messages app. iOS 7
ajlburkeover 11 years ago
Note that Apple now keeps the previous version of the app around for users on older OSes. Of course they won&#x27;t get any of the upgraded features, but at least there&#x27;s still something there for them - and you won&#x27;t have to worry about all that messy code for supporting multiple versions.<p>My next app updates will also be iOS7 only, since I know the iOS6 version will still be around. Makes it much easier to decide to use newer features.
评论 #7005631 未加载
评论 #7009085 未加载
MaxGabrielover 11 years ago
There isn&#x27;t anything in this article that explains why you can&#x27;t support both. The only sentence about this is &quot;We can’t leverage what iOS 7 has to offer and a lot of the UI is compromise.&quot;, which doesn&#x27;t cite any difficulties they&#x27;ve run into. The only iOS 7 features they mention are UIDynamics and the receding keyboard—the rest are iOS 5&#x2F;6 features.
评论 #7005955 未加载
评论 #7007687 未加载
onmydeskover 11 years ago
You&#x27;re fortunate you can afford to expend development effort&#x2F;money on an update that won&#x27;t bring in any more users. Im still licking my wounds from the app store change that came with ios6, sales are way way down to the extent that significant development work to these apps cannot be justified. With the pre ios6 app store I could make a case for it but not today.
andrewflnrover 11 years ago
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.
评论 #7008246 未加载
评论 #7007556 未加载
alexobenauerover 11 years ago
Interesting - I did not know about the new receding keyboard functionality.<p>For those curious, you can simply set a boolean on any UIScrollView or subclass to make the keyboard recede like in the Messages app.
评论 #7006526 未加载
评论 #7007887 未加载
评论 #7008633 未加载
clarky07over 11 years ago
Actually, that doesn&#x27;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&#x27;t make sense to delete code that is working and redo it just because the new way is easier. 0 effort &gt;&gt;&gt;&gt; small effort times 10.
评论 #7006056 未加载
评论 #7006958 未加载
rbrittonover 11 years ago
The sweet point for me has been iOS 6-7 support. There&#x27;s little that iOS 7 has that I need to use, so a few conditionals here or there haven&#x27;t been a huge deal (tintColor has been the only significant one). This contrasts immensely with trying to support back to iOS 5 where so many new things were added after (e.g., autolayout) that you end up with huge chunks of redundant code that differ only in the approach taken to get the end result.<p>My apps&#x27; interfaces are entirely customized, so everything looks roughly the same across the major versions. I&#x27;ve shifted to a flatter appearance since iOS 7, but I&#x27;ve held onto certain things from older ones that I like better such as borders on buttons where the button status is not clear from the context, filled toolbar icons (I hate the stenciled ones), and a shadowing level somewhere between iOS 6 and 7.
makecheckover 11 years ago
I was a bit on the fence about iOS versions before because I still have a first-generation iPad (iOS 5.1 maximum) and I wanted to make games for it. I have a new iPhone 5S as well.<p>I originally wrote game code with OpenGL ES, and then tried very hard to make the same code work on a Mac with regular OpenGL. It took more time than it should have to see results and it wasn’t that fun. About all I can say is that I learned a lot and OpenGL clearly runs efficiently.<p>After seeing Sprite Kit (Mac OS X Mavericks and iOS 7 only) and working with it, I am now <i>completely</i> devoted to these latest OSes. That framework has solved virtually all of my Mac&#x2F;iOS parity issues, while allowing code to be almost identical in ways that really impressed me. Sprite Kit requires far less effort and it produces far greater results. About the only downside I see is that there would be no hope of porting my code to something like an Android phone (and I don’t happen to care about that).<p>It doesn’t hurt that Mavericks is free so about the <i>only</i> device left out in the cold is my old iPad. I decided that I was probably holding myself back by trying to support it anyway; the device is quite slow compared to almost any other iPad. I will likely just buy a new iPad.
i_sover 11 years ago
I&#x27;ve done the same for the app that I work on, but not because I needed an if-else for the UI code. The biggest problem for me was that every now and then, I&#x27;d get a bug that shows up on a device, but not the simulator. If this happens even once, it is one time too many for a small team without a lot of leftover devices to sport old iOS versions on.
SDMattGover 11 years ago
&quot;This was one feature we really wanted and implementing this was painful as hell. I can’t believe it’s now just a boolean value away.&quot; - So awesome yet so frustrating! haha
sociover 11 years ago
Right to the point information. GREAT.<p>I&#x27;ve been programming on a daily basis for iOS even before the SDK came out (ohhh those reverse engineering days...!). Two years ago I left the job and since then I&#x27;ve always wondered what were the relevant changes in the SDK, just in case I get back to programming iOS again. And here we have it!
Toucheover 11 years ago
&gt; When we added pull to refresh to our app there weren’t many apps using this technique and it added a premium feel to our app.<p>This makes me want to vomit. I can&#x27;t wait until implementing flashy UI is so trivial and common that shallow things like this don&#x27;t actually affect an application&#x27;s perceived value. I don&#x27;t remember the transition to GUI in the 80s as being as shallow as the mobile app market is.
评论 #7005891 未加载
评论 #7005860 未加载
评论 #7006517 未加载
评论 #7007103 未加载
mkramlichover 11 years ago
I think that not writing iOS&#x2F;ObjectiveC&#x2F;AppStore&#x2F;Apple-specific code, period, is even saner.
kamimeowover 11 years ago
Are the multiplatform techno like flex, cordova&#x2F;phonegap, haxe... already out of question ?
评论 #7006865 未加载
f_salmonover 11 years ago
There&#x27;s really nothing sane about iOS&#x2F;the iPhone when the government has full control over it.<p>The only sane thing to do is have it recycled.