Is there a way to determine the actual time and date in iOS (not the time of the device)

Viewed 1665

In iOS, I need to know the actual time (UTC), not the time of the device. In other words, it should not be possible for the user to tamper with the time or date.

Anything that requires a network connection is not good (so accessing a time server is not an option).

AFAIK, there are 2 theoretical ways of achieving this:

  • Use the timestamp from the GPS satellite signal
  • Get the current time from the carrier

Problem is that this information is not exposed by any API in iOS.

Is there another way?

3 Answers
Related