{
"aps": {
"alert" : {
"title": "Daily Sales",
"body": "Bed"
},
"badge" : 1,
"mutable-content": 1
},
"my-attachment" : "https://secure.img1.wfrcdn.com/lf/maxsquare/hash/36984/27677880/1/Wimbush-Panel-Bed-DBHC7470.jpg"
}
This is a remote push notification payload. When the device receive this, and received by func didReceive(UNNotificationRequest, withContentHandler: (UNNotificationContent) -> Void)
, will the "my-attachment" go into the content.attachments
directly? if I add more customize data in the json file? what will happen?