Is it possible to disable the Emoji icon in a UITextField?

When I set the text UITextFieldas "♈", it displays the emoji icon, but I just want to display the original character.

+5
source share
2 answers

if you want to distribute the emoji insert in the text field, you can use NSPredicates or can check the NSCharacterSet.

0
source

You must add \U0000FE0Eafter the special character in your NSString. This will mean that the OS will use the "regular" version, and not replace it with emoji. See https://paulofierro.com/blog/2013/3/30/disabling-emoji-characters-with-unicode-variants

0
source

All Articles