lmkk
lmkk

Reputation: 609

IOS - push data instead of notifications using APNS

When I have loaded new data onto my server, I want to push a file onto my iPhone app. Is that possible with APNS or is that only for notification of the availabillity of new data on the server(and the app must then connect to the server and download data)?

Upvotes: 1

Views: 745

Answers (1)

DarkDust
DarkDust

Reputation: 92306

A push notification can only carry a very small brutto payload (256 Byte, IIRC). So no, you cannot push a file via APN (unless it's so tiny that you can cram it into the JSON body).

Edit: It is 256 Byte. See the docs.

Upvotes: 2

Related Questions