标签: ios unicode push-notification emoji
我想将表情符号发送到iOS推送通知。例如,在后端,我向APN发送了一个字符串"\\U0001F4A3"。在前端,我需要在didReceiveNotificationRequest:withContentHandler:方法中将此字符串解析为Unicode。我该怎么办?
"\\U0001F4A3"
didReceiveNotificationRequest:withContentHandler: