DDXMLElement的奇怪问题

时间:2016-11-28 15:20:09

标签: swift xmppframework

我使用的是XMPPFramework,刚刚更新到版本3.7,现在当我尝试编译这一行时:

body.setStringValue(message)

它给了我这个错误:

Value of type 'DDXMLElement' has no member 'setStringValue'

我该如何解决?

1 个答案:

答案 0 :(得分:1)

你可以用这个

body.stringValue = message

body.setStringValue

中没有swift3