in the
- (void)xmppRoomDidCreate:(XMPPRoom *)senderyou have to create a configuration object (for me I used
NSXMLElement) and pass it as a parameter in
[sender configureRoomUsingOptions:roomOptionsXML];Here is the content of the roomOptionsXML:
<iq type="set" to="myro...@jabber.muc.com" id="B169E688-706D-4D5F-830C-8FC7AD8E7C78">
<query xmlns="http://jabber.org/protocol/muc#owner">
<x xmlns="jabber:x:data" type="submit">
<field type="hidden" var="FORM_TYPE">
<value>http://jabber.org/protocol/muc#roomconfig</value>
</field>
<field type="boolean" var="muc#roomconfig_persistentroom">
<value>1</value>
</field>
<field type="text-single" var="muc#roomconfig_roomname">
<value>XMPPFrameWork</value>
</field>
</x>
</query>
</iq>
Hope this helps.