Contents

proximityStateDidChangeNotification

A notification that posts when the state of the proximity sensor changes.

Declaration

nonisolated class let proximityStateDidChangeNotification: NSNotification.Name

Mentioned in

Discussion

You can obtain the proximity state by getting the value of the proximityState property.

See Also

Managing notifications