开发者

iPhone Push Notification - How to use default sound

开发者 https://www.devze.com 2023-01-06 03:40 出处:网络
I have implemented whole push notification service for my application using easyapns. I have implemented the server part using php and using the default php classes provided by easyapns.

I have implemented whole push notification service for my application using easyapns.

I have implemented the server part using php and using the default php classes provided by easyapns.

Now, from server (php file), i am passing sound file name like :

$apns->addMessageSound('bingbong.aiff');

And I am including this 'bingbong.aiff' file in iPhone's Resource folder.

But Now I have a query that is it possible to play a default in-built sound of iPhone device instead of specify it externally ?

Thanks开发者_开发问答 in advance....


Normally $apns->addMessageSound('default'); should do the trick.

0

精彩评论

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