Why can't Emoji display correctly in a UITextField?
问题 When an Emoji character is set using the code below: self.textField.text = @"\ue415"; It just display as a square. But when I input an Emoji from the keyboard it displays correctly. What's the problem? PS: I'm using IOS 5.1 回答1: In older versions of iOS the Emoji characters were all in the Unicode Private Use Area, which as the name suggests is a set of Unicode code points that explicitly don't have any associated characters. However, the Unicode standard has been updated to include a large