问题
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