Overview
- In my iOS project, I am using UILocalNotification,
- when a notification is fired, a custom sound is played.
- the custom sound plays for about 20 seconds,
- the phone vibrates only once at the start
What I want to do:
- Presently the phone vibrates only once at the start. I want it to vibrate repeatedly for 20 seconds just like in Apple's alarm / Timer app before the user pressed on the action button ?
Question
- During the alert is it possible to make the phone to vibrate for the 20 seconds before the user can attends to the notification or clicks on the action button ?
Problem
- Since my app doesn't have any control till the user presses on the action button I am not sure how I can make it vibrate
- The app might be closed when the notification is pops
Is there a way to do this ?