 <p>hi i have done many thing in xmpp from (<a href="http://xmpp.org/xmpp-protocols/xmpp-extensions/" rel="nofollow">http://xmpp.org/xmpp-protocols/xmpp-extensions/</a>) tutorial you can get example from bellow github links you can get many help from that </p> <p>(demo links: ) <a href="https://github.com/sesharim/ios-jabber-client" rel="nofollow">https://github.com/sesharim/ios-jabber-client</a></p> <p><a href="https://github.com/funkyboy/Building-a-Jabber-client-for-iOS" rel="nofollow">https://github.com/funkyboy/Building-a-Jabber-client-for-iOS</a></p> <p>(xmmp Project demo Link:)</p> <p><a href="https://github.com/chrisballinger/ChatSecure-iOS" rel="nofollow">https://github.com/chrisballinger/ChatSecure-iOS</a></p> <p>i hope it will help full you..</p> <p>you can get how to fetch old messages and user list and other detail from that above demo programs. </p>