Hi,
How can I disable the highlighting that appears on my icon while it's being displayed on the home page of iPhone?
Thanks.
Hi,
How can I disable the highlighting that appears on my icon while it's being displayed on the home page of iPhone?
Thanks.
From the iPhone HIG:
Note: If you choose, you can prevent iPhone OS from adding the shine to your icon. To do this, you need to add the UIPrerenderedIcon key to your application’s Info.plist file (read iPhone Application Programming Guide to learn about this file). Your icon should still measure 57 x 57 pixels, regardless of whether you take advantage of the added shine.
UIPrerenderedIcon is the setting that you want to set.
Actually, it is probably a good idea to read through all of the Info.plist options you can set. It may save you from trying to replicate some functionality that is provided by default.
Open your Info.plist
file, can also be named ProjectName-Info.plist
, and add a new line. The Key-column is a drop down list, click it and scroll through a quite large set of keys in human readable form that are possible to set.
The one you are looking for is called "Icon already includes gloss and bevel effects", that is the human readable form. Writing UIPrerenderedIcon
, also works.
Adding this flag will also disable the automatic addition of gloss and bevel in Tunes Store, and on the App Store.
Well, I did it and it worked flawlessly... on the simulator... On my development iPod touch, no matter what I do, the shine is always there, and it's really destroying my carefully designed icon... BTW, is there any kind of effect, that could be made on photoshop to inverse the effect? So, when Apple applies it, it's back to normal?
to hbStarkMuffie
I just had the same problem - on the Sim no effects applied while on iPod Touch shine appeared always and I fixed it by Cleaning All Targets and deleting the build directory in the project, rebuilded and reloaded - works flawlessly.