I know I can get the proximity state from UIDeviceProximityStateDidChangeNotification, but what I'm really after is a distance measurement. Does anyone know of a way to do that, preferably without accessing private methods?
This questions is similar - Measure distance from an iPhone to an Object using proximity sensor but is nearly 5 years old.
I think that as far as I know it's not possible. It's only possible to know if there's something near or not (bool - true or false).
Thanks it helps.