user1357849
user1357849

Reputation: 5

Detect iPhone fall while the app runs in background

Can I detect iPhone fall using accelerometer while the app runs in background?

Upvotes: 0

Views: 383

Answers (2)

Nicolas Manzini
Nicolas Manzini

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

Nikolai Ruhe
Nikolai Ruhe

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

Related Questions