In iOS 6, you can switch on/off the "do not disturb mode". Is there a possibility to do that from an app? Or is there at least a way to find out if it is set?
Asked
Active
Viewed 4,619 times
6
-
Refer this, http://stackoverflow.com/questions/27976453/can-you-programmatically-toggle-do-not-disturb-mode-in-ios-8-w-swift – Piyush Sanepara May 31 '16 at 07:23
-
Refer this link, http://stackoverflow.com/questions/27976453/can-you-programmatically-toggle-do-not-disturb-mode-in-ios-8-w-swift – Piyush Sanepara May 31 '16 at 07:24
1 Answers
1
I don't have the exact answer, but I would recommend you research the internal settings URLs that Apple has (prefs:root=) which is documented here: http://www.techwithintent.com/2011/11/force-an-ios-5-device-into-airplane-mode-with-a-single-click/
Please note - when referencing these URLs the user will be switched OUT of your app, so this is a way to access/toggle different settings, but it is not really programatic.

Matt
- 693
- 9
- 16
-
good one, I haven't heard about that! unfortunately, it is disabled since iOS 5.1... – Florian Sep 24 '12 at 11:31
-