Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

coverflowView and retina display

Hello, I have a problem whit the coverflow image view and retina display.
All my images are saved at 600*600px whit name imageName@2x.png to indicate images are in high resolution for iphone4 display
Now, in the coverflow view they are correctly scaled but still pixelated.
Any suggestion?
Thank you!

— asked November 29th 2010 by Stefano Di Luca
  • coverflow
  • coverflowview
  • createimageview
  • display
  • iphone4
  • retina
0 Comments

3 Answers

  • The automatic detection only works on the icon and splash screen. For anything past that, you have to manually check the iOS version and load the images that way.

    — answered November 29th 2010 by Josh Lewis
    permalink
    0 Comments
  • That isn't true, automatic detection also work in imageview and other objects whit the prefix @2x on the image name

    — answered November 29th 2010 by Stefano Di Luca
    permalink
    0 Comments
  • How so? If you're explicitly setting the name in the app itself, how can it know to change? Would that mean it checks every image no matter if its there or not? If thats true, seems like it would be a resource hog.

    — answered December 6th 2010 by Josh Lewis
    permalink
    1 Comment
    • the @2x feature works the same in native iOS dev too. When you have image.png and image@2x.png in your assets.. all you do is set image to "image.png". The system will auto check if you have image@2x.png. However I'm not sure why its not working with coverflowView

      — commented December 6th 2010 by Michael Huntington
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.