Many instant messaging systems include notifications about the state of one's conversation partner in a one-to-one chat (or, sometimes, in a many-to-many chat). In essence, chat state notifications can be thought of as a form of chat-specific presence.
This section describes how to integrate chat states notifications into your application.
Here is a list of common Chat State Notifications:
typing: The user is composing a message. The user is actively interacting with a message input interface specific to this chat session (e.g., by typing in the input area of a chat window)
paused: The user had been composing but now has stopped. The user was composing but has not interacted with the message input interface for a short period of time (e.g., 30 seconds)
With QuickBlox you can use all these chat status notifications.
Here is an example of how to implement the typing notification.
To produce this notification we should implement a UITextFieldDelegate delegate in the application: