Type Property

proximityStateDidChangeNotification

Posted when the state of the proximity sensor changes.

Declaration

class let proximityStateDidChangeNotification: NSNotification.Name

Discussion

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

See Also

Notifications