How to get Memoji from UITextField or UITextView Swift 4

Discussion Memoji for Swift 4

Hello, iOS 13 have released and we got access to Animoji. Memoji not available by default in the default UITextField or UITextView.

For start, we will allow use Memoji in our UITextField or UITextView. Animoji use NSTextAttachment for save image of sticker, because Animoji image contain in NSAttributedString.