Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在显示支持视网膜显示的本地化应用程序图标时遇到问题。
怎么可能做到这一点?
我尝试使 Icon.png 和 Icon@2x.png 本地化,然后我尝试使 proj-Info.plist 本地化并尝试链接到不同的图像。
但只显示项目语言的图标...
您需要为每种语言创建一个 infoplist.strings 文件。为此,手动创建 language.lproj 文件夹并将 Infoplist.string 文件放入每个文件夹中。在文件中输入以下内容:CFBundleIconFile="Icon_en.png" 或 CFBundleIconFile = "Icon_pt.png"。