开发者

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

开发者 https://www.devze.com 2022-12-30 04:30 出处:网络
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.

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

精彩评论

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