Returns the magnetic field vector with respect to the device.
- iOS 5.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- watchOS 2.0+
- Core Motion
CMCalibrated returned by this property gives you the total magnetic field in the device’s vicinity without device bias. Unlike the
magnetic property of the
CMMagnetometer class, these values reflect the earth’s magnetic field plus surrounding fields, minus device bias.