The solution of the emoji expression box in ios5.1 is that the emoji expression cannot work properly on some ios5.1 devices. Display . Me Test Ios5.1 (9b176 IPhone 4) the emoji cannot be displayed normally, all of which are boxes.
Ios5.1 (9b179 for iPhone 4S) can display emoji normally.
The reason is that emoji on ios4 uses Softbank encoding. After ios5, emoji is put into unicode6.0, which may cause some incompatibility of the old encoding.
The solution is also very simple, with all new encoding on ios5 and old encoding on ios4 and below.
Because some ios5.1 can be displayed normally, some may not.According to our test results, all of 5.x uses the new encoding, And all of 4.x and below use the old encoding.ProblemNow
For more information about encoding conversion, seeAppleYour own conversion table: http://opensource.apple.com/source/ICU/ICU-461.13/icuSources/data/translit/Any_SoftbankSMS.txt
The left side is the new Unicode encoding, and the right side is the old Softbank encoding. Please convert it by yourself
For detailed emoji Pictures please see this http://code.iamcal.com/php/emoji/ Apple official conversion table http://opensource.apple.com/source/ICU/ICU-461.13/icuSources/data/translit/Any_SoftbankSMS.txt
Emojiarray = [[nsarray alloc] initwithobjects: @ "\ U0001f61a" , @ "\ U0001f60c" , @ "\ U0001f604" , @ "\ U263a" , Code You can directly write it in this way.