Display the unread chats count

Use the following method to display the number of unread chats in your iOS app.
Written by Andrew
Updated 1 month ago

You can display the number of current unread chats (e.g. on the app icon) by calling the following method:


[HelpCrunch numberOfUnreadChats]



Also, you can observe the HCSUnreadChatsNotification notification event to keep you up to date. You can read more about how to do it here.

Did this answer your question?