开发者

Do iphone push notifications send the actual sound data to play, just a filename, or is it handled by the app?

And开发者_开发知识库, does it cache it locally?

I ask because I am wondering if it's possible to change the sound of a push notification via SSH, replacing an app sound.

My question is specifically about how the API for push notifications works. Does it send a .caf (aiff) binary file for the phone to play each time?


There is no file being sent. You can add a sound name for a file that's stored in your app which you want to be played when the notification arrives. See the Apple Push Notification Service Programming Guide for further assistance.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜