Skip to main content

Module dnd

Module dnd 

Source
Expand description

iph dnd: Do Not Disturb on the phone.

A notification banner drops over the top of the screen and takes the tap meant for whatever is under it. The accessibility tree of the app in front does not show it, so it cannot be seen coming (2026-11-10: a banner took a tap on a back button and opened another app). iph dnd on keeps banners away while iph works, and iph dnd off puts back the Focus that was on.

No service on the phone offers this. iph does what a person does: pull Control Center down, hold the Focus control, pick the mode from the list, press Home twice. Control Center belongs to SpringBoard and shows in the accessibility tree; Settings has no switch for it (iOS 27.0.1).

Structs§

DndArgs
Labels
The words to look for on the phone.
Record
What iph dnd on replaced with Do Not Disturb, for iph dnd off to put back. Kept in a file so that it outlives the daemon.
Row
State
What the daemon remembers about Do Not Disturb between commands.
Switch

Enums§

View
What the screen shows, as far as Focus goes.
Want

Functions§

pick
The row to tap, or None when the list already shows what is wanted.
reached
Whether the list shows what was wanted.
view