0

I know how to find out if user is moving in a vehicle in the following cases:

1. CLLocationManager:

In this case, based on the speed in locationManager:didUpdateLocations method i can find out if user is moving in vehicle.

2. If M7 Is available --> CMMotionActivityManager:

In this case, i can make use of CMMotionActivity in startActivityUpdatesToQueue:withHandler method and find out if user is moving in vehicle.

I'm stuck in the case where iOS Device doesn't have M7 Processor.

I can use CLLocationManager in this case, but it is draining device battery, So I'm not going to choose this option to achieve the functionality.

Please provide me guidelines to find out if user is moving in a vehicle If M7 Is not available.

I have referred the following links, But They didn't help me.

Thanks in Advance.

Community
  • 1
  • 1
Ashok
  • 5,585
  • 5
  • 52
  • 80
  • Hi, i have the exact same problem, did you find the answer? – ozd Dec 07 '15 at 09:16
  • @ozd. Not yet. Actually I was not able to spend more time on it as I had other things on priority. Check this once http://stackoverflow.com/questions/17869659/detecting-if-a-user-is-moving-in-a-car – Ashok Dec 07 '15 at 10:37
  • I strongly suggest to adopt new frameworks and APIs. – Hemang Mar 09 '16 at 11:44

0 Answers0