Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIPrerenderedIcon being ignored for XCode 4.2.1 in Simulator or Device

Tags:

ios

icons

iphone

I've set UIPrerenderedIcon to true in my info.plist file but both the simulator and device (running iOS 5.0.1) are ignoring the value...

<key>UIPrerenderedIcon</key>
<true/>

Any ideas what I can do? I've tried Clean -> Build but that didn't solve it either...

like image 551
mootymoots Avatar asked Nov 22 '11 21:11

mootymoots


1 Answers

Found the issue.

In iOS 5 it groups your icons together in a dictionary. You need to expand the item in your plist called "Icon Files (iOS 5)", then "Primary Icon". In there you will see another UIPrerenderedIcon value setting.

Change that, and solved!

like image 68
mootymoots Avatar answered Oct 30 '22 02:10

mootymoots