开发者

IOS - push data instead of notifications using APNS

When I have loaded new data onto开发者_StackOverflow社区 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)?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜