How do I specify an iPad Retina icon in XCode 4.3 for an iPhone-only app?

前端 未结 2 1070
北荒
北荒 2021-02-06 16:39

My iPhone app icon shows up fine in iPhone/Retina and iPad. But on iPad retina (simulator and device) I get an icon that apparently contains the app\'s start screen:

2条回答
  •  花落未央
    2021-02-06 17:37

    In Xcode the target summary interface where you add your icons and launch images is merely a graphical interface to the Info.plist file. When you make a iPhone only target, the graphical interface for the iPad portion is hidden. To add information to the Info.plist file that isn't covered by the graphical interface move to the Info tab and enter it there. To add the Retina iPad icons add an icon named Icon-72@2x.png and Icon-Small-50@2x.png to the Icon files array in the Info section. Also add actual 144 x 144 and 100 x 100 png representations of your icon with the proper name to your Xcode project and the target.

提交回复
热议问题