[英]In swift remote notification is there a way to display a different message in the banner other than the one received from server when app is killed?
如果我來自服務器的有效負載是
{ "aps" : { "alert" : "You got a mail";
"badge" : 0;
}
"user": { "name" : "Nicole" } }`
它還給了我一些關於發送它的用戶名的其他數據。 有沒有辦法在通知中心或橫幅中以格式顯示自定義消息:“Nicole 已發送郵件”?
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.