Is it possible to add an image to a push notification's payload? I've seen it being done in the Photos & Messages apps. I was hoping this wasn't some private Apple API.
Is not possible
According to the Push Notification Programming guide the payload max size should not exceed 256 Bytes:
Documentation extract:
Payload length—The length of the payload in network order (that is, big endian). The payload must not exceed 256 bytes and must not be null-terminated.
Here´s the Apple Documentation link :