Re:iOS 7 only is the only sane thing to do
by guptaneil on Friday January 03, 2014 @10:40AM
(#7005908)
Great points, except for "@2x only." 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's 3 year support cycles, iOS 10 will be the first iOS that can fully drop support for non-retina displays if the iPad 2 and original iPad mini are discontinued by the end of this year.
[ Parent
| on HN ]
Re:iOS 7 only is the only sane thing to do
by berzniz on Friday January 03, 2014 @10:57AM
(#7006028)
Our app is iPhone only, but this is a great point to remember for anyone thinking about dropping the non-retina image.
People with non-retina iPads can and will download your app.
Non-retina iPads use retina assets for iPhone apps.
Ah good too know. I guess that is new in iOS 7.
Re:iOS 7 only is the only sane thing to do
by mikeash on Friday January 03, 2014 @01:14PM
(#7007007)
My memory is fuzzy, but I think it happened around iOS 5.
Re:iOS 7 only is the only sane thing to do
by guptaneil on Friday January 03, 2014 @01:48PM
(#7007226)
Nope, it's an iOS 7 feature. Retina iPads have done this since iOS 5, since that is when the iPad 3 was introduced, but non-retina iPads used non-retina graphics until iOS 7.
See http://www.iphonehacks.com/2013/07/ios-7-uses-retina-assets-... and http://bendodson.com/weblog/2013/10/16/dropping-non-retina-s...
Re:iOS 7 only is the only sane thing to do
by mikeash on Friday January 03, 2014 @02:07PM
(#7007357)
That must be my confusion. Thanks for the info.
Unfortunately, an app cannot be made `-568h` only. And -[UIImage imageWithName:] does not support `-568h` infix.
Re:iOS 7 only is the only sane thing to do
by chrisdroukas on Friday January 03, 2014 @11:55AM
(#7006460)
Which is pretty lame considering xcassets supports an image 'subtype' called R4 that's designed for 4" screens.
There's nothing stopping you from swizzling that method for one that does, though. I've done it without any apparent problems.