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

后端 未结 2 1869
情话喂你
情话喂你 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条回答
  •  梦毁少年i
    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.

提交回复
热议问题