When you define an icon for your app in XCode and then run it in the simulator or on a real device, the icon is automatically trimmed so it has rounded edges and a 'glossy' sheen is applied over top of the icon. I'd like to get rid of that sheen since it's obscuring some of the detail in my icon. It seems like some other apps are able to accomplish this... anyone know how it's done?
Asked
Active
Viewed 807 times
2 Answers
7
Add this key/value pair to your Info.plist file:
<key>UIPrerenderedIcon</key>
<true/>

James Skidmore
- 49,340
- 32
- 108
- 136
-
Is this still true for the current version of Xcode? And if so, where exactly in the Info.plist is this added? TIA – d.altman Jan 09 '12 at 21:48
-
Yes, it is still true. In Xcode 4, however, the key appears as "Icon already includes gloss effects". – James Skidmore Jan 09 '12 at 21:57
-
In iOS5 devices it's no longer a root key, you need a CFBundleIcons dictionary with a CFBundlePrimaryIcon dictionary entry in it, which contains the UIPrerenderedIcon key along with an array of CFBundleIconFiles. – ikuramedia Jan 15 '12 at 16:13
0
In Xcode 4.3 it's even easier...just go to your Target settings -> summary and next to your app icons check "Prerendered" - it removes that sheen

animal_chin
- 6,610
- 9
- 37
- 41