I presume you’re talking about iOS here; if not, let me know what platform you’re working on.
1- Is there a native iOS framework that allows me to measure these values?
No. To break things down:
- Light Detector
There are no public APIs for accessing the ambient light sensor.
- Cellular Module
There are no public APIs for getting cellular signal strength.
- Magnetism Sensor
Information from the magnetometer is available indirectly via Core Location and Core Motion, but there’s no direct access to sensor values.
2- IOKit Allows access to these values?
As you’re aware, I/O Kit is not a public API on iOS, and thus this is not an appropriate topic for discussion on DevForums.
Share and Enjoy
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"