CMMotionActivityManager isActivity可用设备 [英] CMMotionActivityManager isActivityAvailable devices

查看:154
本文介绍了CMMotionActivityManager isActivity可用设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用 CMMotionActivityManager ,我想知道哪些设备的运动数据可用?我读过的许多地方都暗示它目前仅在具有M7芯片的设备上.

I want to use CMMotionActivityManager, I would like to know what devices motion data is available on? Many of the places that i have read suggest that it is currently only on devices that have the M7 chip.

推荐答案

isActivityAvailable will return true on the M7 equipped devices:

iPhone5S
iPad mini with retina
iPad Air

Apple并没有在文档中隐含地说明问题,也许会保留其他实施选项,并允许客户出于隐私原因禁用跟踪传感器.

Apple is not telling implicitly in the documentation, perhaps leaving other implementation options open and allowing the customer to disable the tracking sensor for privacy reasons.

这篇关于CMMotionActivityManager isActivity可用设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆