Is it possible to programmatically check if the system option of iPhone
Settings -> Sounds -> Vibrate on Ring
is enabled?
In my app, I would like to display an alert to the user if that option is disabled.
Is it possible to programmatically check if the system option of iPhone
Settings -> Sounds -> Vibrate on Ring
is enabled?
In my app, I would like to display an alert to the user if that option is disabled.
You cannot. Because apple is not providing the API to access the iPhone settings app.
may be you could give it a try and make sure you're running the app in iDevice because simulator don't have silent or ring mode :)
New Edits
and you can call this method like this way
hope it will help you!