Apple push notifications and Emoji characters
I recently found this very interesting article on APNS and Emoji characters: EASY APNS - Just for fun
It contains a list with all supported Emojis. However, I could开发者_C百科n't get them to display in my push notifications. All I get is the code, not the image. For example, if I add \ue415 (a smiley) to my message, I never see the image, just the code.
Any idea what I'm doing wrong?
NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415];
check out this site http://code.iamcal.com/php/emoji/
he does the emoji in php.
i use this command to achieve a emoji on the iphone.
emoji_unified_to_softbank("\xee\x80\xac");
Q
If you happen to be using Rubymotion for iOS dev the you can use the softbank code converted like this: softbank code: U+E04A Rubymotion string sent as push: "This is a sun with rays emoji \ue04a"
精彩评论