Example of insert custom emoji image in to UITextView. And get the represent string back after editing.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
InputEmojiExample.xcodeproj Add shared scheme Mar 13, 2017
InputEmojiExample change Sep 21, 2016
InputEmojiExampleTests Init Mar 7, 2015
Resources Update README Mar 13, 2017
.gitignore Init Mar 7, 2015
.travis.yml Add travis.yml Mar 13, 2017
README.md Update Mar 13, 2017

README.md

Example of adding custom Emoji image to UITextView

Gif example

image

How it work

  1. Extend NSTextAttachment to save emoji tag string. Blog
  2. Override NSTextAttachmentContainer method. Blog

Contact me

zekunyan@163.com