标签: swift xmppframework
我使用的是XMPPFramework,刚刚更新到版本3.7,现在当我尝试编译这一行时:
body.setStringValue(message)
它给了我这个错误:
Value of type 'DDXMLElement' has no member 'setStringValue'
我该如何解决?
答案 0 :(得分:1)
你可以用这个
body.stringValue = message
body.setStringValue
swift3