title: iOS display message to user from background
body: <p>My client gave me a requirement. My app is monitoring accelerometer data from background. He want to show some messages to user from background depending on the data. It will be like local notification. this message will be removed if desired value is received through the sensor. </p>
  
  <p>How do I implement such feature? I've tried local notification. But my sensor reading frequency is too high, therefore lots of notifications are getting generated. If I want to cancel the notifications, after sometime, mobile gets soft rebooted.</p>
  
  <p>What is the workaround for this?</p>