I changed the code ![CDATA[<key>UIDeviceFamily</key><array><string>2</string></array>]]
with ![CDATA[ <key>UIPrerenderedIcon</key><true/><array><string>2</string></array>]]
but it didn't work. Why is that?
Why did you include FLASH CS5 in your title?
Anyway, question has been answered before here:
Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device
This shows how to make it apply to emulator and iOS 5 hardware.
Specifically,
`
<key>CFBundlePrimaryIcon</key>
<dict>
<key>CFBundleIconFiles</key>
<array>
<string>Icon.png</string>
<string>Icon@2x.png</string>
</array>
<key>UIPrerenderedIcon</key>
<true/>
</dict>
`
It would be useful if you wrote where did you change that line. However it seems a fragment of an Info.plist and as such, your changed line has an invalid format. Try something like this:
<key>UIPrerenderedIcon</key>
<true/>
<key>UIDeviceFamily</key>
<array><string>2</string></array>
Also check out if you have the prerendered icon value set in "Icon files (iOS5)" dictionary as described in Removing Shine/Gloss effect on the iPhone through UIPrerenderedIcon not working on device
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.