我正在使用 XMPPFramework 并且刚刚更新到版本 3.7,现在当我尝试编译这一行时:
body.setStringValue(message)
它给我这个错误:
Value of type 'DDXMLElement' has no member 'setStringValue'
我该如何解决?
最佳答案
你可以用这个
body.stringValue = message
因为 body.setStringValue
在 swift3
中不可用
关于swift - DDXMLElement 的奇怪问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/40847748/