Proximity sensor in background?

I'm working on an iOS version of an Android app (to control a bicycle light). One feature I'm trying to duplicate involves using the proximity sensor while the app is in the background. Is this possible and if so will it pass review?

UIDevice.currentDevice().proximityState seems to always return false while in the background. It looks like IOKit and AppleProxShim could possibly be useful but I just barely scratched the surface. I'd say I'm out of luck adding this feature if I want it in the App Store. Feel free to chime if you can shed some light on this.

Proximity sensor in background?
 
 
Q