aps ={ alert = "push message"; badge = 1; id = 557; sound = "seller.wav"; type = 107; };
Though i have added "seller.wav" file in my bundle I could not able to play custom sound,when push comes.
Help me to get this solve.
Thanks in advance.
aps ={ alert = "push message"; badge = 1; id = 557; sound = "seller.wav"; type = 107; };
Though i have added "seller.wav" file in my bundle I could not able to play custom sound,when push comes.
Help me to get this solve.
Thanks in advance.
Check 'Preparing custom alert sounds' in the documentation:
You file might not be the right format. Apple recommends the CAF file format. You can convert a wav file to CAF using afconvert like this:
afconvert /System/Library/Sounds/Submarine.aiff ~/Desktop/sub.caf -d ima4 -f caff -v
(Also from Apple doc)