Reputation: 16430
I've created an application for iPhone with icon versions for retina and no-retina display ([email protected] and icon.png). Whenever I try to install this application on an iPad 3 a part of [email protected] is used instead of [email protected]. Have i to upload specific icon for iPad ? and in this case where!? from Xcode 4.3.2 I see only 2 spaces to include icons, but reserved for iPhone version. I suppose that i need to create a new voice into plist file... but I'm not sure and documentation didn't help me.
Upvotes: 2
Views: 1806
Reputation: 835
Old question, but with Xcode 6.3, if you use assets catalogs, select AppIcon, tick iPad (for iOS 7 and up) and add your 76x76 and 152x152 icons to the catalog
Upvotes: 1
Reputation: 1171
When determining the appropriate App-Icon the OS searches the "best fitting size" Icon in the CFBundleIconFiles array or the CFBundleIcons in the Info.plist. If the Default(@2x).png is in one of those arrays, it is selected for best fitting on iPad Retina. Solutions:
For the Info.plist keys see also: https://developer.apple.com/library/ios/#documentation/iPhone/Conceptual/iPhoneOSProgrammingGuide/App-RelatedResources/App-RelatedResources.html#//apple_ref/doc/uid/TP40007072-CH6-SW1
Consider, that the naming of those Icon files are only relevant for older iOS versions. In new versions, the OS just searches for sizes in the mentioned arrays.
Upvotes: 1
Reputation: 3212
I ran into the same problem. I created the resource files Icon-72.png and [email protected] in the root of the bundle and added them to "Icon files" in the Info page of the target (Info.plist). Strangely, this didn't do the trick.
My final solution was to convert the target temporarily into an universal app, drag the iPad icons into the corresponding slots of the target's summary page and build it. After that, revert the target to an iPhone/iPod touch app, clean it, built it again.
Interestingly, this seems to work.
Upvotes: 7
Reputation: 4746
I would create 2 more icons called
icon~ipad.png
icon@2x~ipad.png
The first one will allow for iPad 1/2, and the second one will allow for Retina iPads (iPad 3).
Adding those 2 icons may be enough. Also, try a Clean & Rebuild as Luke said.
Hope this helps =)
Upvotes: 1