title: How to get walk distance (in meter) and direction in each 1/2 second in iOS Application?
body: <p>I am working on a office indoor floor plan application, and in which I have to show the office navigation with accuracy. To create a logic I will have to perform a task:</p>
  
  <p>There should be a start <code>UIButton</code> in app, when I tap on that button then process should be started in which I have to find distance in meter from that point from which I have started walk and also find the direction from the that beginning point. </p>
  
  <p>Can it be possible through CoreMotion framework, if yes then How ?</p>
  
  <p>So please suggest me any suitable solution.</p>