How do I specify both icons for a universal iPhone/iPad app?

前端 未结 5 604
没有蜡笔的小新
没有蜡笔的小新 2020-12-07 09:22

I hope to create a single app that supports both the iPhone and the iPad. The app works in the simulator for both devices as desired. Now I\'m trying to build and deploy it.

5条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-07 10:20

    CFBundleIconFile

    CFBundleIconFiles

    The first can only be a string, and will be used for iphone 3.1 and earlier builds (I think). The second can be changed to Value Type "array" (right click). Then click the triangle to the left of it(so it points down), and past a value to the right. Paste a second value to include another file name.

    It seems the name doesn't matter, as long as it's a PNG. The file will be chosen based on which is the right size, so only include the name of one 57x57 for iPhone and one 72x72 for iPad.

    I'm currently converting Math Cards Pro to be universal, so I haven't successfully submitted a universal app to the App Store, but I'm pretty confident that all this is right.

提交回复
热议问题