Closed anthonybarouch closed 10 years ago
You can use NSRegularExpression
to extract the [xxx]
form the text. Then use NSTextAttachment
to draw custom item, for instance an image, in a UITextView. Google "NSTextAttachment image ios"
I will check it right now. Thanks a lot !
@aaaaaa55555 where do you put that code to insert the emoticon
Hi,
How can I have the emoticon images in the text view instead of [applaud] etc ... ?
Thanks a lot.
Best regards,
AB