Is it possible to get the atomic clock timestamp from the iphone GPS?
This works to get the GPS time: #import <CoreLocation/CoreLocation.h> CLLocation* gps = [[CLLocation alloc] initWithLatitude:(CLLocationDegrees) 0.0 longitude:(CLLocationDegrees) 0.0]; NSDate* now = gps.timestamp; It doesn’t seem to be tamper-proof though. I tried this code on an iPhone 4 in airplane mode (iOS 6.1), and even then it gives a time all right. But unfortunately this time … Read more