【问题标题】:Turn On/Off Hardware modules in Core Location framework在核心位置框架中打开/关闭硬件模块
【发布时间】:2018-10-09 10:21:36
【问题描述】:

众所周知,Core Location 框架使用 iPhone 板载硬件中的所有可用硬件,包括加速度计、磁力计、陀螺仪、气压计、GPS 和用于 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 }

是否可以通过 Swift 以编程方式打开/关闭这些硬件模块?

【问题讨论】:

  • 据我所知,不可能直接控制各个模块。

标签: iphone swift core-location


【解决方案1】:

据我所知,无法直接控制单个硬件模块。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-09-28
    • 2017-08-11
    • 2014-06-19
    • 1970-01-01
    • 1970-01-01
    • 2022-11-14
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多