Is it possible by any means to detect the device shake event on iOS in background thread?

Hi everyone,
Is it possible by any means to detect the device shake event on iOS in background thread?
I will be glad if someone can create a tutorial for it.

Hi @zulqurnain42,

if your intention is to detect the shake event while the app is in the background, it is not possible. Apple has many restrictions on what can be executed in background. I can recommend the following resources to learn more about these restrictions:

https://developer.apple.com/forums/thread/685525

Thanks @prepar. Is it possible that I can get continuous updates from apple watch about heartbeat because I think I can achieve my objective that way if that is possible.

This topic was automatically closed after 166 days. New replies are no longer allowed.