ios - How I keep iPhone continuous vibrating when receives remote notification? -
i want keep iphone app vibrating when receives remote notification app closed or iphone closed.
i can play special sound when receives remote notification, said vibrate sound, use "ksystemsoundid_vibrate" , still don't know how use it.
the server can post apns this:
{"aps":{ "alert":"receive jane's call", "badge":1, "sound":"opening.m4r"} } but want know how add constant 'ksystemsoundid_vibrate' apns, iphone can play sound , vibrate continuously.
Comments
Post a Comment