I'm trying to stop the iphone from vibrating in the silent mode. so,how to stop UILocalNotificaion vibrations on silent mode programmatically.
What I want is to vibrate normally when ring mode is on and not to in the silent case. I know that can be done by disabling the setting>sound> vibrate on silent. Is it possible to change the UILocalNotificaton setting to do that automatically (By code).
Once a UILocalNotification is launched, it is not up to your process to decide how it should or should not behave. This relies only on the OS's notification center and might change according to user preferences. The only thing you control is the UIUserNotificationType
(Badge / Sound / Alert) you're registering for when calling registerUserNotificationSettings: