[]Naitve下解析xml出错

在非native模式下,使用 var protocols = Laya.Utils.parseXMLFromString(Laya.loader.getRes(url)).firstChild;这样的方式,可以获取到xml对象,调用protocols.children.length没有问题。但是在native模式下。获取出来的对象调用protocols.children.length出错。说是protocols.children对象为null.native下不支持Laya.Utils.parseXMLFromString吗?
已邀请:

Aar0n

赞同来自:

native不支持。

要回复问题请先

商务合作
商务合作