Support of iOS 5.0 icons with XCode 5 -


i'm using new asset catalog appicon set right icons ios 5 (in theory), 6 , 7. unfortunately, when installing application on ipad 1 (with ios 5.1.1), displayed icon not right 1 (it's upscaled one, 57x57 one).

i saw after creating asset catalog, 2 empty entries added in info.plist file:

  • icon files (ios 5)
  • cfbundleicons~ipad

i've read lot of "solutions", nothing worked me :(

one of solution add these entries in plist (and add corresponding icons in project):

<key>cfbundleicons</key> <dict>     <key>cfbundleprimaryicon</key>     <dict>         <key>cfbundleiconfiles</key>         <array>             <string>icon.png</string>             <string>icon@2x.png</string>             <string>icon-72.png</string>             <string>icon-72@2x.png</string>         </array>         <key>uiprerenderedicon</key>         <true/>     </dict> </dict> <key>cfbundleicons~ipad</key> <dict>     <key>cfbundleprimaryicon</key>     <dict>         <key>cfbundleiconfiles</key>         <array>             <string>icon-small</string>             <string>icon-small-50</string>             <string>icon-72@2x.png</string>             <string>icon-72.png</string>         </array>         <key>uiprerenderedicon</key>         <true/>     </dict> </dict> 

but it's not working @ all.

i'm using xcode 5.0 (5a1413).

any appreciated.

i found working solution. don't use anymore asset catalog. , put these lines in info.plist file:

<key>cfbundleiconfile</key> <string>icon-57.png</string> <key>cfbundleiconfiles</key> <array>     <string>icon-72.png</string>     <string>icon-72@2x.png</string>     <string>icon-57.png</string>     <string>icon-57@2x.png</string>     <string>icon-60@2x.png</string>     <string>icon-60.png</string>     <string>icon-76@2x.png</string>     <string>icon-76.png</string>     <string>icon-29@2x.png</string>     <string>icon-29.png</string>     <string>icon-50@2x.png</string>     <string>icon-50.png</string>     <string>icon-40@2x.png</string>     <string>icon-40.png</string> </array> <key>cfbundleicons</key> <dict>     <key>cfbundleprimaryicon</key>     <dict>         <key>cfbundleiconfiles</key>         <array>             <string>icon-72@2x.png</string>             <string>icon-57.png</string>             <string>icon-72.png</string>         </array>         <key>uiprerenderedicon</key>         <true/>     </dict> </dict> 

it's working charm :)


Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -