views:

1679

answers:

4

Hi this is an iPhone objective C question.

When I set the icon file for the app, say, icon.png. When it is shown on the phone, a white reflection effect is automatically added on the icon.png

Is there any way to remove te reflection effect? Cause I can see that there are apps without the white reflection effect on the icons

+6  A: 

In your info.plist file, add a key called UIPrerenderedIcon and set its value to true.

This will prevent the sdk from automatically adding the glossy shine to your icon

Harry
+6  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: 

There is a good article about this here: http://iphonedevelopertips.com/general/remove-shine-gloss-effect-on-iphone-icon.html

+1  A: 

There is also a follow up article about how to remove the border from the icon if you so wish: http://iphonedevelopertips.com/general/create-an-iphone-icon-with-no-border.html

Some people may find that useful, personally I'd advise keeping to Apple standards as much as possible.