Re: Can I jsut use @2x images without supplying a @1x image?
Re: Can I jsut use @2x images without supplying a @1x image?
- Subject: Re: Can I jsut use @2x images without supplying a @1x image?
- From: Jeff Kelley <email@hidden>
- Date: Fri, 21 Oct 2011 16:18:25 -0400
Can you? Sure. Keep in mind, though, that the iPhones and iPod Touches without Retina Displays also have less memory, so loading double-scaled images will cause your app to use much more memory than necessary. This may not affect your application, but it may cause other applications to be unloaded from memory earlier, causing your users’ experience to suffer. So to be a good iOS citizen, you ought to include the 1x versions as well.
Jeff Kelley
On Oct 21, 2011, at 3:42 PM, David Hoerl wrote:
> I noticed by accident that everything seems to work just fine if I supply a email@hidden in my iOS code, reference as normal [UIImage imageNamed:@"image.png"], even if I'm targetting code at a non-retina iPhone.
>
> So, is this really acceptable? In virtually every image I have, the 1x image is just a scaled down 2x image. By dropping the 1x images I can greatly reduce the number of images stuffed into my app.
>
> Thanks,
>
> David
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden