I have a UITextView and I need to detect if a user enters an emoji character.
I would think that just checking the unicode value of the newest character would suffic
Swift's String type has a property .isEmoji
Best to check the documentation for the isEmojiPresentation caveat
https://developer.apple.com/documentation/swift/unicode/scalar/properties/3081577-isemoji