您好,我在iOS上进行开发,并遵循此说明。
https://www.avanderlee.com/swift/rich-notifications/
我的"notification.apns“看起来像这样
{
"Simulator Target Bundle": "com.xxxxxxxxxxxxxxxxx",
"aps": {
"category": "content_added_notification",
"alert": {
"title": "Photos",
"body": "Antoine added something new - take a look"
},
"mutable-content": 1
},
"image_url": "https://upload.wikimedia.org/wikipedia/commons/d/d5/Basketball_Ball_Icon.png"
}通知显示如下。

它有什么问题??
发布于 2020-10-05 20:08:52
只需重新启动设备即可。我想这是新版本的另一个bug
https://stackoverflow.com/questions/64185882
复制相似问题