How To Create Chat Room For Mobile?

How to create a chat room using XMPP in iphone?

  • I have an application in which i am using one-to-one chat. Now i need group chat, i know it is possible with XMPP, there is a class XMPPRoom.h, using which we can create a room or join a room.But i am unable to implement that in my project. Can anyone please provide me some ideas, suggestions and if possible a sample application. Thanks in advance :)

  • Answer:

    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.

Naveen at Stack Overflow Visit the source

Was this solution helpful to you?

Related Q & A:

Just Added Q & A:

Find solution

For every problem there is a solution! Proved by Solucija.

  • Got an issue and looking for advice?

  • Ask Solucija to search every corner of the Web for help.

  • Get workable solutions and helpful tips in a moment.

Just ask Solucija about an issue you face and immediately get a list of ready solutions, answers and tips from other Internet users. We always provide the most suitable and complete answer to your question at the top, along with a few good alternatives below.