proximityStateDidChangeNotification
A notification that posts when the state of the proximity sensor changes.
Declaration
nonisolated class let proximityStateDidChangeNotification: NSNotification.NameMentioned in
Discussion
You can obtain the proximity state by getting the value of the proximityState property.