You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be useful when an app shows its own custom notifications and want to respect the “Do Not Disturb” setting.
For example, one of my apps show a HUD notification (kinda like the volume change indicator), and I would like it to not show if the user has enabled “Do Not Disturb”, so the user can be sure, for example, that nothing interrupts a presentation. I have gotten multiple requests for this from users.
The API would probably be: NSWorkspace.shared.isDoNotDisturbEnabled.
It would be great if this property supported KVO or a separate Combine publisher.
The text was updated successfully, but these errors were encountered:
Description
This can be useful when an app shows its own custom notifications and want to respect the “Do Not Disturb” setting.
For example, one of my apps show a HUD notification (kinda like the volume change indicator), and I would like it to not show if the user has enabled “Do Not Disturb”, so the user can be sure, for example, that nothing interrupts a presentation. I have gotten multiple requests for this from users.
The API would probably be:
NSWorkspace.shared.isDoNotDisturbEnabled
.It would be great if this property supported KVO or a separate Combine publisher.
The text was updated successfully, but these errors were encountered: