sampling sensors on IPhone 4 during standby

被刻印的时光 ゝ 提交于 2019-12-25 00:04:42

问题


I would like to be able to write an app that samples some sensor (not GPS) on IPhone 4, even when the phone is on standby mode

What are my options?


回答1:


Read up on EAAccessory and EASession. You’re supposed to be able to get updates from accessories even when in the background.



来源:https://stackoverflow.com/questions/8692465/sampling-sensors-on-iphone-4-during-standby

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!