How to setup normal Icon for iPhone3 and Retina for iPhone 4

后端 未结 2 1834
情话喂你
情话喂你 2021-01-01 07:14

I heard somewhere of an workaround by adding the following files to your xcode project:

  • Icon.png - 57x57 pixels application icon for standard resolution iPhone
相关标签:
2条回答
  • 2021-01-01 07:48

    Just set the Icon filename to Icon.png or delete the key all together from the info.plist file and let the OS do the work for you. It will select the correct one based on the device.

    As long as both an Icon.png and an Icon@2x.png are added to the app bundle, the OS will load the correct one.

    0 讨论(0)
  • 2021-01-01 07:53

    See Apple's Technical Q&A QA1686 which describes the exact naming conventions, Info.plist keys, and other details for the various icon sizes required for each device.

    0 讨论(0)
提交回复
热议问题