Instance Property

proximityState

A Boolean value indicating whether the proximity sensor is close to the user (true) or not (false).

Declaration

var proximityState: Bool { get }

See Also

Using the Proximity Sensor

var isProximityMonitoringEnabled: Bool

A Boolean value indicating whether proximity monitoring is enabled (true) or not (false).