Creating a good custom emoticon chat experience on iOS

I’m trying to come up with possible implementations for what is basically an expanding UITextView with the capability of typing inline images.

There are literally dozens of open source projects I’ve seen that handle creation of labels with custom emoticons, UIWebViews that draw your images inline with text and so on, but none that don’t run over the native UITextView behavior:

  • Go vs. return button in iOS keyboard for HTML input forms
  • UIWebView and NSURLCache have a troubled relationship
  • iOS Google Drive SDK load file into UIWebView using key “webContentLink”
  • Properly force or allow Landscape mode for Youtube embedded video in iOS 8 without NSNotificationCenter
  • UIWebView capturing the response headers
  • UIWebView YouTube Embed video not loading
    • Autocorrect
    • Spelling
    • Magnifying glass
    • Selection tooltip and capability
    • Double space for period

    The only app I’ve seen on the app store that gives a good, robust experience with typing custom emoticons is Viber.

    So the question is – how did they do this? Any ideas, notes or references would be greatly appreciated.

    Thanks!

    enter image description here
    enter image description here
    enter image description here

    Solutions Collect From Internet About “Creating a good custom emoticon chat experience on iOS”

    The only thing that comes to mind is this, but I’ve never touched it. You might make something useful if you can make certain code points render the way you want, like the built-in emoji.