Skip to content
Example of insert custom emoji image in to UITextView. And get the represent string back after editing.
Branch: master
Clone or download
Latest commit cea3a39 Mar 14, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
InputEmojiExample.xcodeproj
InputEmojiExample
InputEmojiExampleTests
Resources
.gitignore
.travis.yml
README.md

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

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.