views:

3733

answers:

7

Hi,

How can I disable the highlighting that appears on my icon while it's being displayed on the home page of iPhone?

Thanks.

+9  A: 

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.

Dan Lorenc
+3  A: 

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.

toast
+17  A: 
Will Harris
This definitely works, but the iPhone simulator sometimes holds onto the 'glossy' version. In this case, removing the app from the simulator and deleting the build directory seems to force the icon to refresh
Jaysen Marais
+3  A: 

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.

PeyloW
A: 

This appears to be gone in XCode 3.1.4. :(

Almo
I got the case wrong on UIPrerenderedIcon. So it still works. Ignore me. :)
Almo
A: 

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?

hbStarkMuffie
A: 

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.

valdyr