Im developing an iPhone app that has an groupchat.
Im using the XMPP framework. But im not able to pick up the message that has been received and then pass it to the Viewcontroller in order to print it.
Im able to print one on one messages, but the way the framework deals with groupmessages is different.
Any clue will be appreciated.
Basicly you have to create a delegate that will call a method that is implemented in the viewcontroller.
In such way that the appDelegate(who is the only one to know that a message is received) will execute a method that is implemented in the viewcontroller. Then the viewcontroller will be able to print the received message.