removeUIInterruptionMonitor(_:)
Removes a handler using the token from when you added the handler.
Declaration
func removeUIInterruptionMonitor(_ monitor: any NSObjectProtocol)Parameters
- monitor:
An identifier token for an interruption monitor, obtained from a previous call to Adduiinterruptionmonitor(withdescription:handler:).