I am not very versed in the UTextView / UITextInput mechanisms, but I am trying to give you (unverified) advice that may possibly achieve the expected result.
Embedded iOS emojis are simple characters, so we can follow the same path, creating our own font (or expanding an existing one). We have two options:
If you want to target iOS 6.0 (which has built-in support for NSAttributedString in NSAttributedString classes), you can try to create your own font containing all the emoticons you need and use it inside NSAttributedString (the attribute string can mix different fonts, font sizes , styles, etc.).
You can do something similar with iOS 5 , but since you cannot use NSAttributedString inside a UITextView (so you are limited to one font for all the text) you should use a font that combines the actual characters and custom emoticons: so you have to expand the font, which you want to use for input, adding to it all the emoticons. I do not know if this may have consequences for licenses.
Otherwise, you can always go much lower level by embedding your own text file using CoreText , but I think it will be hard work.
Alessandro OrrΓΉ
source share