Apple 推送通知和表情符号字符 [英] Apple push notifications and Emoji characters
本文介绍了Apple 推送通知和表情符号字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我最近发现了这篇关于 APNS 和 Emoji 字符的非常有趣的文章: EASY APNS - Just为了好玩
I recently found this very interesting article on APNS and Emoji characters: EASY APNS - Just for fun
它包含一个包含所有支持的表情符号的列表.但是,我无法让它们显示在我的推送通知中.我得到的只是代码,而不是图像.例如,如果我将 \ue415(笑脸)添加到我的消息中,我将看不到图像,只看到代码.
It contains a list with all supported Emojis. However, I couldn'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.
知道我做错了什么吗?
推荐答案
NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415];
这篇关于Apple 推送通知和表情符号字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文