How to add emoticons in UITextView while editing -


i developing xmpp-client app. 1 of features sending smiles , user should have ability edit usuall text. emoticons editing in viber app best example of want implement.

i tried 3 ways solve problem:

i create emoticon usual uiimageview , place subview on uitextview using current caret rect. use 5 whitespaces text placeholder in text view. there 2 problems: placing emoticons on new line when inserting text in middle(printing whitespace not make caret move new line); when user placing caret using magnify glass, can move caret through emoticon(through 5 whitespaces), delegate method not called during process.

i have tried egotextview. there problems caret position , resizing when new line should added. , there rendering artifacts when using 1 line size.

i have tried using uiwebview. there great problems resizing based on text size , other artifacts speed of response when becoming first responder. may 1 give me advice of working solution?

any suggestion please?

thanks!


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -