iphone - Configuring the sound played when Push Notification is received -



iphone - Configuring the sound played when Push Notification is received -

how can configure sound gets played when application in background , force notification received?

check out "the notification payload" section of this document.

example json payload (adapted above document):

{ "aps" : { "alert" : "you got emails.", "badge" : 9, "sound" : "bingbong.aiff" } }

the key you're looking here sound, it's string points aiff, caf, or wav file within bundle.

iphone objective-c ios cocoa-touch push-notification

Comments

Popular posts from this blog

java - How to pass parameters between Request-Scoped Controllers? -

actionscript 3 - Flex: moving a point with rotation doesnt change the point XY? -

ms access - C# - Using OleDbParameter on table name -