79

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

Thanks.

Ilya Suzdalnitski
  • 52,598
  • 51
  • 134
  • 168

11 Answers11

148

The easiest way is to check the Prerendered check box on your target's Summary tab:

Prerendered Icon

Alternatively, set the value of Icon files (iOS 5) > Primary Icon > Icon already includes gloss effects to YES in your application's Info.plist.

Icon already includes gloss effects

Will Harris
  • 21,597
  • 12
  • 64
  • 64
  • 2
    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 Apr 17 '10 at 03:37
  • 1
    Just to let eveyone know the property list key is now called:Icon already includes gloss effects. I am using xCode 3.2.6 with IOS 4.3 – Sabobin Apr 12 '11 at 16:12
  • 18
    Just because this is a popular question, This have been updated in newer versions of the SDK, you should now look for `Icon already includes gloss and bevel effects` and Check that key. Hope this helps new people. – Nicolas S Jun 12 '11 at 21:25
  • 7
    For iOS5 devices there's a new key structure, rather than a single on/off key, there's a CFBundleIcons dictionary, containing a CFBundlePrimaryIcon dictionary which contains an array of CFBundleIconFiles. The BOOL UIPrerenderedIcon key goes in the CFBundlePrimaryIcon dictionary. – ikuramedia Jan 15 '12 at 15:10
  • XCode 4: Go to `Project Target > Summary > App Icon` and check the checkbox `Prerendered` which disables the gloss effect. Note that in the Simulator sometimes the effect is not applied after clean & rebuild. If so, delete the build folder from the simulator as well. – d.ennis Jul 13 '12 at 16:34
  • @Will, I have a question about this. Setting this checkbox works for me. However, I don't see the icons in the boxes next to the checkbox. I added them directly to the plist file. How do I get them to appear in those boxes? – Victor Engel Jan 16 '13 at 21:32
  • How to do this in XCode5/iOS7? I know the gloss effect doesn't exist anymore in iOS7. But how do you configure it for iOS6 compatibility? – Tom van Zummeren Aug 08 '13 at 16:42
  • See @Tiago's answer (http://stackoverflow.com/a/19391351/414037) for Xcode 5 solution – yonix Oct 16 '13 at 13:35
  • Regarding XCode5/iOS7: In case you do not use xcassets, just combine @Will Haris and @Naveed Rafi answers and set the `Icon already includes gloss effects` to `YES` in both places. – Christoph Apr 18 '14 at 09:04
32

In new xcode 4 all you need is to add a new entry and search the following in list:

"Icon already includes gloss effects"

Example: enter image description here

Thanks

Naveed Rafi
  • 2,503
  • 5
  • 32
  • 40
23

I tried this several times and became slightly frustrated because it wasn't working. Turns out I already had this option set to NO and hidden under Icon files.

enter image description here

Hopefully this helps someone else.

Jarsen
  • 7,432
  • 6
  • 27
  • 26
  • Yeah - this seems to be new for iOS 5. There are now two different entries for the icons, and two for the "Icon already includes gloss effect"aka UIPrerenderedIcon property. Both need to be set. – n13 Jan 30 '12 at 05:32
18

In Xcode 5 this setting changed place. In order to access it select your xcassets, select the app icon entry and, in the attributes inspector, select the iOS icon is pre-rendered checkbox.

Turn on pre-rendered icon in Xcode 5

Tiago
  • 3,113
  • 2
  • 31
  • 45
  • 2
    Any way we can change this to the correct answer? The earlier one, while correct, is by and large irrelevant almost five years later. – TMan Feb 27 '14 at 16:34
13

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
  • 5,376
  • 1
  • 23
  • 34
7

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
  • 36,742
  • 12
  • 80
  • 99
6

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.

Benjamin Autin
  • 4,143
  • 26
  • 34
6

The "Friendly" version of this key is now displayed by XCode 4 as "Icon already includes gloss effects" in case anyone else has trouble finding it.

Roger
  • 15,793
  • 4
  • 51
  • 73
5

Set UIPrerenderedIcon to true in your Info.plist.

John Flatness
  • 32,469
  • 5
  • 79
  • 81
5

From Xcode 4.3 there is a checkbox called "Prerendered" next to the icon in the Target/Summary configuration. Check that and the shine will be not added. For me "Icon already includes gloss effects" did not work.

Check "Prerendered to remove shine effect"

Tibidabo
  • 21,461
  • 5
  • 90
  • 86
0

With Xcode 4.3.2, you can also use the Key Icon already includes gloss effects and set it's value to YES. This removed the glossy shine for me from my app icon.

Mahendra Liya
  • 12,912
  • 14
  • 88
  • 114