开发者

iPhone "Icon already includes gloss effects = YES" - Appstore Icon still glossy in iOS 4

in my Info.plist I set "Icon already includes gloss effects = YES". Normally it was enough to hide the gloss effects in the appstore too. But my last 开发者_JS百科two Apps I loaded up have still the glossy glow in the Apple app store. Is there a new way to hide the gloss?

Thanks :-)


Are you developing/running on iOS 5? Because the new Info.plist structure for iOS 5 has a new entry with the same key (UIPrerenderedIcon) which is placed in a sub dictionary along with the icon file names. You should still include the original UIPrerenderedIcon key in the root of the Info.plist for iOS 4 and earlier.

If you are converting from an older project, simply copy the format from a new project created with the assistant. It will have the key in the right place already.


Have you add the following line in your info.plist right before the </dict> ?

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


Open the plist in source code and do

<key>CFBundleIcons</key>
<dict>
    <key>CFBundlePrimaryIcon</key>
    <dict>
        <key>CFBundleIconFiles</key>
        <array>
            <string>myIcon.png</string>
        </array>
        <key>UIPrerenderedIcon</key>
        <false/>
    </dict>
</dict>

This line before the

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


I set “Icon already includes gloss effects = YES” In the info.plist, search this part:

<key>CFBundleIcons</key>
<dict>
    <key>CFBundlePrimaryIcon</key>
    <dict>
        <key>CFBundleIconFiles</key>
        <array>
            <string>myIcon.png</string>
        </array>
    </dict>
</dict>

Now, add this 2 lines:

       <key>UIPrerenderedIcon</key>
       <false/>

At the end, It must to be:

<key>CFBundleIcons</key>
<dict>
    <key>CFBundlePrimaryIcon</key>
    <dict>
        <key>CFBundleIconFiles</key>
        <array>
            <string>myIcon.png</string>
        </array>
        <key>UIPrerenderedIcon</key>
        <true/>
    </dict>
</dict>


In the Info.plist file. Make sure the "Icon already includes gloss effect" boolean in that dict is set to "YES".

Then go To project Target settings tick the checkbox on Prerendered.


it's a ITS bug. If you set the UIPrerenderedIcon to FALSE, it will set a plain icon on ITS.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜