在待机期间在iPhone 4上采样传感器 [英] sampling sensors on IPhone 4 during standby

查看:83
本文介绍了在待机期间在iPhone 4上采样传感器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我希望能够在iPhone 4上编写一个采样传感器(不是GPS)的应用程序,即使手机处于待机模式也是如此

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

什么是我的选择?

推荐答案

阅读 EAAccessory EASession 。即使在后台,你也应该能够从配件中获得更新。

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

这篇关于在待机期间在iPhone 4上采样传感器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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