适用于iOS的Retina显示的本地化应用程序图标 [英] Localized App Icons with Retina Display for iOS

查看:109
本文介绍了适用于iOS的Retina显示的本地化应用程序图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题显示支持视网膜显示的本地化应用图标。



怎么可以这样做?



<我尝试将Icon.png和Icon@2x.png本地化,然后我尝试将proj-Info.plist本地化并尝试链接到不同的图像。



但只显示项目语言的图标...

解决方案

您需要创建一个infoplist.strings文件对于每种语言。为此,手动创建language.lproj文件夹并将Infoplist.string文件放在每个文件夹中。
在文件中输入以下内容:CFBundleIconFile =Icon_en.png或CFBundleIconFile =Icon_pt.png。


I have issues showing a localized app icon with retina display support.

How could this be done?

I tried to make Icon.png and Icon@2x.png localized, then I tried to make the proj-Info.plist localized and try to link to different Images.

But only the Icon of the project language are being shown...

解决方案

You need to create one infoplist.strings file for each of the language. For that, create language.lproj folders manually and put Infoplist.string file in each of the folder. Inside the file enter the following: CFBundleIconFile="Icon_en.png" or CFBundleIconFile = "Icon_pt.png".

这篇关于适用于iOS的Retina显示的本地化应用程序图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆