Re: Univeral App Icon- Bug in iOS 4.3.1?
Re: Univeral App Icon- Bug in iOS 4.3.1?
- Subject: Re: Univeral App Icon- Bug in iOS 4.3.1?
- From: Matt Neuburg <email@hidden>
- Date: Sat, 09 Apr 2011 06:41:30 -0700
On Sat, 09 Apr 2011 08:04:29 -0400, Erwin Hogeweg <email@hidden> said:
>All three device types (iPhone, iPhone retina and iPad) have a slightly different icon.
Prepare to have your app rejected at the App Store, then. They don't like that.
>The icons are defined in a CFBundleIconFiles array in the Info.plis as follows:
>
>- Icon.png (57*57)
>- email@hidden (114 * 114)
>- Icon-72.png (72*72)
>
>In the simulator I see the correct icons, on the real devices I see the 2x icon on the iPad though. If I remove the 2x icon, I do get the correct icon on the iPad, but I also get the iPad icon on the iPhone4. In other words, I always get the highest resolution icon on both the iPhone4 and the iPad.
I'm curious as to what happens if you name the icon files Manny.png, Moe.png, and Jack.png (and so too in the CFBundleIconFiles array, of course). The @2x is unnecessary and I'm wondering if it is somehow confusing things. It shouldn't (and indeed, the way you're naming them is exactly how the QA on this topic names them), but if you've found a bug, maybe it has something to do with this. Just a wild guess.
Also, double-check the size of your icon files. It is the size, not the name, that is used to determine which icon to use under what circumstances.
Finally, since you're having trouble only on the device, maybe the problem has to do with how the app is being communicated to the device. Try deleting the app manually from the device. Try doing a Clean before you build (you never know, there could be extra icon files floating around in the bundle, messing things up). Last but not least, try doing an Ad Hoc build so that the app comes onto the device thru iTunes and not via Xcode.
>When I change the key in the Info.plist from "CFBundleIconFiles to "Icon Files", as per the instructions in this Q&A:
> http://developer.apple.com/library/ios/#qa/qa1686/_index.html
You're perhaps misunderstanding that QA. For one thing, it *never* mentions CFBundleIconFiles, so what "instructions" can you be talking about. For another, CFBundleIconFiles *is* "Icon Files". m.
--
matt neuburg, phd = email@hidden, <http://www.apeth.net/matt/>
A fool + a tool + an autorelease pool = cool!
Programming iOS 4!
http://www.apeth.net/matt/default.html#iosbook _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden