Titanium Community Questions & Answer Archive

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

Removing glossy effect from appicon on iPhone

Hello community! :)

I have tried removing the glossy effect from buttons on the iPhone. I've followed these instructions however the info.plist file seems to be re-generated each time you launch the iPhone app and you lose the changes. If you change the info.plist.template file, the changes do not seem to carry over into the info.plist file.

Just wondering how it is possible to remove the glossy effect (ie, the appicon already has specific gloss) in Titanium?

— asked May 25th 2010 by David Calculli
  • appicon
  • glossy
  • iphone
0 Comments

7 Answers

  • Can someone specify what I should change in tiapp.xml to remove the icon shine? I have this and it's not working:

    <prerendered-icon>true</prerendered-icon>
    

    Any ideas? Thanks!

    — answered June 21st 2010 by Clifton Labrum
    permalink
    0 Comments
  • What worked for me was in Ti studio Project -> Clean -> Clean all projects. Rebuild and the shine was gone.

    — answered December 23rd 2011 by mick schouten
    permalink
    0 Comments
  • That's the right setting. You could try a full rebuild - perhaps something's being cached.

    — answered May 26th 2010 by Damien Elmes
    permalink
    2 Comments
    • From what I've seen of apps upgrading to iOS4, more and more have custom shading - using a more subtle effect - potentially related to using the higher resolutions that will be possible with iPhone4.

      — commented June 21st 2010 by Chris Reed
    • I had this exact problem and once I forced the re-build by throwing away my build folder. It re-build fine without the gloss effect.

      — commented March 23rd 2011 by jamie cross
  • edit tiapp.xml

    — answered May 25th 2010 by Damien Elmes
    permalink
    0 Comments
  • Thank you for your answer - could you elaborate on what value I should have?

    At the moment I have: <prerendered-icon>true</prerendered-icon>
    and it does not seem to be very effective (i.e., it doesn't seem to do anything)

    Am I getting my wires crossed somewhere?

    — answered May 25th 2010 by David Calculli
    permalink
    0 Comments
  • you should try to edit the root info.plist :

    /Library/Application Support/Titanium/mobilesdk/osx/1.3.0/iphone

    (my settings are also erased when i edit the local info.plist)

    & you verify in PROJECT/build/iphone/build/Debug-iphonesimulator/APP.app/Info.plist that everything is ok after build

    — answered June 21st 2010 by Stephane Pelamourgues
    permalink
    0 Comments
  • Editing tiapp.xml with the prerendered-icon true entry works for me on the installed app on the iPhone even though in the simulator it appears to still have the glossy effect.

    — answered July 6th 2010 by Randy Hall
    permalink
    0 Comments
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.