Apple 推送通知和表情符号字符

发布于 2024-08-25 01:10:00 字数 279 浏览 2 评论 0原文

我最近发现这篇关于 APNS 和表情符号字符的非常有趣的文章: EASY APNS - 只是为了好玩< /a>

它包含一个包含所有支持的表情符号的列表。但是,我无法让它们显示在我的推送通知中。我得到的只是代码,而不是图像。例如,如果我在消息中添加 \ue415(笑脸),我永远不会看到图像,只能看到代码。

知道我做错了什么吗?

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 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.

Any idea what I'm doing wrong?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

柏林苍穹下 2024-09-01 01:10:00
NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415];
NSString *emoji = [NSString stringWithFormat:@"%C", 0xe415];
2024-09-01 01:10:00

看看这个网站 http://code.iamcal.com/php/emoji/

php 中是否有 emoji 表情?

我使用这个命令在iPhone上实现表情符号。

emoji_unified_to_softbank("\xee\x80\xac");

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

御弟哥哥 2024-09-01 01:10:00

如果您碰巧使用 Rubymotion for iOS 开发,您可以使用转换后的 Softbank 代码,如下所示:
软银代码:U+E04A
作为推送发送的 Rubymotion 字符串:“This is a sun with Ray emoji \ue04a”

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"

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文