I'm trying to set an alternative icon for my app but from some reason fail to do so. [UIApplication sharedApplication].alternateIconName
keeps returning nil, although the plist structure looks correct:
<key>CFBundleIcons</key>
<dict>
<key>CFBundleAlternateIcons</key>
<dict>
<key>AlternateIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>AlternateIcon</string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
</dict>
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string></string>
</array>
<key>UIPrerenderedIcon</key>
<false/>
</dict>
</dict>
The code:
NSLog(@"Icon = %@",[[UIApplication sharedApplication] alternateIconName]);
prints:
Icon = (null)