title: Internal clock in iPhone background mode
body: <p>In my application i want to run an internal clock in background mode [while application is not running in foreground].</p>
  
  <p>The whole functionality will be like this:</p>
  
  <p>The objective is to get the server time to use in the application, because using device time may sometimes cause issues. The issues may be in situations like somebody has changed the user's iPhone time etc. So i am following the below method.</p>
  
  <p>-Running an internal clock in my application background even if the application is not running.
  -Communicate with server every 15 minutes to get the real time and run a timer.
  -If net is disconnected in between,timer will continue and take the timer time.</p>
  
  <p>My application is heavily depended on this time factor as this is a ticket booking system.Kindly help me to implement this or please confirm whether this is possible or not?</p>
  
  <p>I am developing an iPhone application which involves Ticket Booking System. I registered my application as location based beacuse it is using user's location taken in background for a purpose.</p>
  
  <p>My problem is that i need to run an internal clock in my application in background mode. I need to write the codes for internal clock in core location delegate methods, so that internal clock will also run along with the location bsed services. Will my app get rejected? Is anything wrong in doing like this?</p>
  
  <p>I need to get the correct time to use in my app, so that i am running this internal clock. I can use NSDate, but that will return the device time. Anyone can change the device time. So once somebody chaged, wrong time will affect the smooth functioning of the app. Kindly some body suggest to get the correct time with out running the internal clock ?</p>