Search code examples
iosquickblox

How to get user id in Quickblox using the iOS SDK?


I am new to Quickblox and am interested in using the chat feature. However it is required to send the id of the user to whom the current logged in user would like to chat. In the sample code, the id seemed to be hardcoded. However i would like to get the id of the user from Quickblox. How do i get the user id of the logged in users to the application?

Thanks Srinivasa Pradeep


Solution

  • Check this sample iOS chat http://quickblox.com/developers/SimpleSample-chat_users-ios

    It shows exactly this case, how to work with Users+Chat

    I can't post iOS code here because it's better and simplier to download src from github and play with it