in-APP function that determines if DO NOT DISTURB is on or off.

Is there an XCODE command that checks to see if DO NOT DISTURB is on (or off)? I would like to develop an APP that checks to see if DO NOT DISTURB is on before it begins its main functions.

Answered by KMT in 354553022

There is no public API that allows you to succeed with making a DND check.


As always, if this is something you deem critical to your app, feel free to make an enhancement request via the bug report link below, adding your report # to your thread for reference.


Good luck.

__________________

Tags: confirmation, echo, in, counting

Accepted Answer

There is no public API that allows you to succeed with making a DND check.


As always, if this is something you deem critical to your app, feel free to make an enhancement request via the bug report link below, adding your report # to your thread for reference.


Good luck.

__________________

Tags: confirmation, echo, in, counting

I’m posting a link to this thread, just for my own records.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"
in-APP function that determines if DO NOT DISTURB is on or off.
 
 
Q