开发者

app icon for retina device

开发者 https://www.devze.com 2023-01-19 14:49 出处:网络
My app\'s icon is named: appicon57x57.png This works great on simulat开发者_StackOverflow社区or and device.I don\'t have a retina device to test on.But if I make a 114x114 version of my app icon and

My app's icon is named:

appicon57x57.png

This works great on simulat开发者_StackOverflow社区or and device. I don't have a retina device to test on. But if I make a 114x114 version of my app icon and call it:

appicon57x57@2x.png

and put in in the same place as the other icon, will it show on the retina devices?


As long as your Info.plist lists the app icon name as appicon57x57 (as it should since you say it works), and you make sure to add the appicon57x57@2x version to your project (and its build target), then yes, Retina Display devices should detect the appicon57x57@2x version and load that one.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号