As we all know Core Location
framework uses all available in iPhone onboard hardware, including Accelerometer, Magnetometer, Gyroscope, Barometer, GPS, and Bluetooth for iBeacon.
// Here are CL classes that use iPhone's hardware
var coordinate: CLLocationCoordinate2D { get }
var altitude: CLLocationDistance { get }
var horizontalAccuracy: CLLocationAccuracy { get }
var speed: CLLocationSpeed { get }
Is it possible to turn each of these hardware modules on/off programmatically via Swift?
据我所知,不可能直接控制各个硬件模块。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.