Reputation: 17695
I am trying to build an iPhone app that works like an alarm, I am using UILocalNotification
Problem
Alternative Approaches
Is it possible to use custom vibration patters ?(http://www.pcworld.com/article/242238/how_to_use_custom_vibrations_in_ios_5.html)
Is it possible to execute a method, when the push notification is fired ? (but the app might not even be running, and yet it needs to work)
Is NSTimer an option ? (but the app might not even be running, and yet it needs to work)
Is there any other alternate ?
Upvotes: 5
Views: 5163
Reputation: 5966
You cannot change the duration of vibration,or make it,for example,vibrate several times(untill you don't make several notifications).
Only way to make custom vibration is to do it from the app, while it is running, no other way for you.
Upvotes: 5