문제

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?

도움이 되었습니까?

해결책

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.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top