Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.


My memory is fuzzy, but I think it happened around iOS 5.


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...


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.


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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: