1 Reply
      Latest reply on Apr 28, 2020 12:58 AM by eskimo
      denz1612 Level 1 Level 1 (0 points)

        Hi,

         

        Is it possible to detect fall activity with Accelerometer, even though the app is running in background or app is terminated. If fall activity is detected, it will create a local notification that can fire to call an API.

         

        Is there are ways to do this to make it possible. Thank you.

        • Re: Accelerometer, running in background even the app is terminated.
          eskimo Apple Staff Apple Staff (13,885 points)

          Is it possible to detect fall activity with Accelerometer, even though the app is running in background or app is terminated.

          No.  For this to work there would have to be some system service that monitored the accelerometer and resumed (or relaunched) your app in the background if some specific event occurs.  This feature is available in other subsystems (NSURLSession, CoreBluetooth, and so on) but not for the accelerometer.  You should feel free to file an enhancement request for it.

          Share and Enjoy

          Quinn “The Eskimo!”
          Apple Developer Relations, Developer Technical Support, Core OS/Hardware
          let myEmail = "eskimo" + "1" + "@apple.com"