开发者

iPhone motion detection in idle mode

开发者 https://www.devze.com 2023-01-09 04:51 出处:网络
I\'d like my audio recorder app to react to accelerometer events whil开发者_JS百科e in idle mode.

I'd like my audio recorder app to react to accelerometer events whil开发者_JS百科e in idle mode. Audio capturing works fine during idle mode, but my motion detection code never gets called, once the app enters in idle mode.

Is it possible?

thanks!


One thing I can suggest is you must stop the application from being enter into idle mode..

And after certain interval of time manually put the application in idle by dimming its light and doing the code for unlocking...

Then you can do whatever you want...

0

精彩评论

暂无评论...
验证码 换一张
取 消