[英]Add Icon 83.5x83.5@2x to iOS App in Visual Studio Tools for Apache Cordova with remote-build
I have added a icon called icon-83.5-2x.png
in the res folder and add the following line to the config.xml: 我在res文件夹中添加了一个名为icon-83.5-2x.png
,并将以下行添加到config.xml:
<icon height="167" src="res/icons/ios/icon-83.5-2x.png" width="167" />
the icon is copied into the folder AppIcon.appiconset
on my windows machine but not on my mac. 该图标将复制到我的Windows机器上的AppIcon.appiconset
文件夹中,但不会复制到我的Mac上。 How can I add the iPad Pro icon to the Xcode project? 如何将iPad Pro图标添加到Xcode项目?
There is support for this icon size in the latest version of the iOS platform support in Cordova, with Cordova v6.1.0 (iOS Platform support v4.1.0). 使用Cordova v6.1.0(iOS平台支持v4.1.0),在Cordova的最新版iOS平台支持中支持此图标大小。 As of March 2016, Visual Studio's Cordova tooling is using Cordova v6.0.0 (with iOS platform v.4.0). 截至2016年3月,Visual Studio的Cordova工具使用Cordova v6.0.0(iOS平台v.4.0)。 Until the Visual Studio default changes, here's how you can update your project to use Cordova 6.1 with the updated iOS platform which will fix your issue: 在Visual Studio默认更改之前,您可以通过更新的iOS平台更新项目以使用Cordova 6.1来解决您的问题:
config.xml
in your project 在项目中打开config.xml
Now you should see that the icon is copied via remote build correctly. 现在您应该看到图标是通过远程构建正确复制的。
I'll also add that I'm a part of the Visual Studio Cordova tools team and in our initial testing with 6.1.0 so far we haven't found any issues. 我还要补充一点,我是Visual Studio Cordova工具团队的一员,在6.1.0的初始测试中,到目前为止我们还没有发现任何问题。 However, until we complete our full test passes, there may be some problems we just haven't encountered yet. 但是,在我们完成完整的测试通过之前,可能会遇到一些我们尚未遇到的问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.