Just starting app development, trying to figure out how to or if I can have the user enter do not disturb mode from my app. Hard to find documentation on this, thanks for the help.
Is it possible to prompt user to enter 'do not disturb' mode from my app?
As of iOS 14, Apple does not provide a mechanism to programmatically inspect or toggle Do Not Disturb.
IMHO, that would be surprising as it would allow an app to change an important user setting, hiding user from important notifications. Even after prompting the user ; in fact, if it is possible with a prompt, that would be possible automatically (unless Apple creates a plist setting to allow to request it…).
It is the same philosophy with any change of setting that may change iPhone capability at the detriment of user of other apps.
So, I do doubt it will ever be possible "legally" anytime in the future.
It is the same philosophy with any change of setting that may change iPhone capability at the detriment of user of other apps.
So, I do doubt it will ever be possible "legally" anytime in the future.