Reputation: 5
Can I detect iPhone fall using accelerometer while the app runs in background?
Upvotes: 0
Views: 383
Reputation: 8546
It would be a good feature to have your phone ringing if it fall! However I'm pretty sure you cannot run such code in background unfortunately.
Upvotes: 0
Reputation: 81868
I don't know if you can detect a fall when in foreground—but in background you are not running. So, no, you can't.
Upvotes: 1