Instance Property

proximityState

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

Declaration

@property(nonatomic, readonly) BOOL proximityState;

See Also

Using the Proximity Sensor

proximityMonitoringEnabled

A Boolean value indicating whether proximity monitoring is enabled (YES) or not (NO).