• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Can I jsut use @2x images without supplying a @1x image?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can I jsut use @2x images without supplying a @1x image?


  • Subject: Can I jsut use @2x images without supplying a @1x image?
  • From: David Hoerl <email@hidden>
  • Date: Fri, 21 Oct 2011 15:42:17 -0400

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


  • Follow-Ups:
    • Re: Can I jsut use @2x images without supplying a @1x image?
      • From: Kyle Sluder <email@hidden>
    • Re: Can I jsut use @2x images without supplying a @1x image?
      • From: Jeff Kelley <email@hidden>
  • Prev by Date: Re: Font problem: iOS5 NSString's sizeWithFont returns integral values unlike drawAtPoint
  • Next by Date: Re: Can I jsut use @2x images without supplying a @1x image?
  • Previous by thread: Re: Custom NSView drawing
  • Next by thread: Re: Can I jsut use @2x images without supplying a @1x image?
  • Index(es):
    • Date
    • Thread