Cordova插件iOS通过引用添加文件和文件夹

时间:2018-03-19 07:40:08

标签: ios cordova-plugins

如何在xcode中通过引用添加cordova插件文件夹?

documentation中,有一个资源文件标记。

例如,有Android和Windows的示例代码,但不适用于iOS:

<resource-file src="FooPluginStrings.xml" target="res/values/FooPluginStrings.xml" />

1)在iOS中我该怎么做?

2)我有一些子文件夹和文件。我是否需要为子文件夹中的每个文件创建资源文件标记,或者是否有更简单的方法,例如设置文件夹路径并将其设置为递归?

enter image description here

已更新:

resource-file标签只会将其放在资源文件夹中。而不是通过引用添加它。

0 个答案:

没有答案