XMPPFramework - How to create a group chat room?

后端 未结 2 1189
隐瞒了意图╮
隐瞒了意图╮ 2021-01-06 16:24

I have an application which I am using for one-to-one chat. Now I need to implement group chat. I know it is possible with XMPPFramework and there is a class called XMPPRoom

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-06 16:46

    here you have a script that allows to connect to a room

    [xmppRoom activate:[self xmppStream]]; 
    [xmppRoom createOrJoinRoom];
    

    In order to do this you should have access to the xmppStream.

提交回复
热议问题