如何在Apple Local / Push通知消息中添加图像?

时间:2023-01-19 16:16:35

In some iOS games i see images in local/push notifications: hearts, smiles, ... How i can get this feature? At this time i already using a en.lproj and Localizable.strings. May be the solution there? Thanks

在一些iOS游戏中,我看到本地/推送通知中的图像:心,笑,...我怎么能得到这个功能?这时我已经使用了en.lproj和Localizable.strings。可能是那里的解决方案?谢谢

1 个解决方案

#1


2  

I would guess it is not really a "image" in the meaning of a pixel graphic but a character from the Emojii keyboard you can add to any text on your iPhone.

我猜它不是像素图形意义上的“图像”,而是可以添加到iPhone上任何文本的Emojii键盘中的字符。

And then it is the same question as here Sending Emoji in Push Notifications via PHP on iOS .

然后它就像在iOS上通过PHP在推送通知中发送表情符号一样的问题。

#1


2  

I would guess it is not really a "image" in the meaning of a pixel graphic but a character from the Emojii keyboard you can add to any text on your iPhone.

我猜它不是像素图形意义上的“图像”,而是可以添加到iPhone上任何文本的Emojii键盘中的字符。

And then it is the same question as here Sending Emoji in Push Notifications via PHP on iOS .

然后它就像在iOS上通过PHP在推送通知中发送表情符号一样的问题。