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

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -