iosjsqmessagesviewcontroller

JSQMessagesViewController get current text


Anyone know how you get the current text of a JSQMessagesViewController? When the view disappears I wan to cache the text the user has typed in so that when they return I can repopulate.


Solution

  • Found it.

    self.inputToolbar.contentView.textView.text!