ios - XMPPFramework - 删除注册用户帐户

标签 ios xmpp xmppframework

我正在使用 https://github.com/robbiehanson/XMPPFramework对于我的 iOS 聊天应用程序。

我需要帮助来删除注册用户帐户。

请帮帮我。

最佳答案

the section Entity Cancels an Existing Registration of XEP-0077 中所述,您需要将以下节发送到服务器:

<iq type='set' id='unreg1'>
  <query xmlns='jabber:iq:register'>
    <remove/>
  </query>
</iq>

服务器随后应发送“未授权”流错误并终止连接。

关于ios - XMPPFramework - 删除注册用户帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24023051/

相关文章:

ios - 如何画一条给定长度和角度的直线?

ios - Heyzap Ad Mediation,仅适用于 rootviewcontroller

apache - ConverseJS 和 OpenFire

ios - 检索消息存档 - XMPPFramework iOS

swift - 由于服务不可用,Muc 灯不工作

ios - 初始化SubView和异常

ios - 音频闪避后音乐变得更柔和?

ios - 如何使用 XMPPFramework 设置邀请请求连接超时?

iOS + XMPP - 我可以在 iOS 中实现推送通知 XMPPFramework 吗?

ios - 无法在 XMPP 中获取消息传递回执