|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Hi guys!
I got a PM from a dev asking how to include icons for both iPhone and iPad in the same app. Doing the upgrade of LabyMania for iPad, I had this concern. In case someone had the same problem, here is the sollution: First things first: The icon sizes are for iPhone 57*57 - and iPad 72*72 Right... Next is, for iPhone, the icon in the bundle must be named Icon.png - so this is the 57*57 icon. The one for iPad can actually be named whatever you want. The trick is pointing to the right files in your info.plist. Step by step: - Backup your old info.plist! - Open info.plist in a text editor - not XCode. - remove any CFBundleIconFile and CFBundleIconFiles entries in the info.plist - Add the following (substitute your filename for the iPad icon...): Code:
<key>CFBundleIconFiles</key> <array> <string>Icon.png</string> <string>Icon72.png</string> </array> - Done! When displaying on iPhone, Icon.png is used. When on iPad, the OS determines the correct one based on the size. - A |
| Thread Tools | |
| Display Modes | |
|
|