Reputation: 239
I integrated XMPP chat server in my iOS application. From DidReceiveIQ, It gives the users list after connection to XMPP server.But If I add any new user to roaster , DidReceiveIQ gives only newly added user and not the compete list. So, my question here is what will be the best way to fetch users list from roaster?
Upvotes: 3
Views: 686
Reputation: 5266
Check iPhoneXMPP example application bundled with XMPPFramework: when you plug in XMPPRoster
module with XMPPRosterMemoryStorage
or XMPPRosterCoreDataStorage
- it will automatically sync users with selected storage, including future addition and deletion, and you can use that storage as datasource for your UITableView
, etc.
Upvotes: 1