Sunday 15 January 2012

objective c - Programmatically check if iPhone clock is synched -


Is it anyway to see if the iPhone Clock is connected to the Internet or if it is manually from my program Is set up? I need to verify that the user clock is changing.

I'm not 100% sure, but my impression is that the iPhone will record its clock with a cellular signal Will synchronize anytime, so perhaps the presence of a cellular network will be "quite close" to check.

Perhaps it would be more simple to call a trusted NTP server on the Internet and see that the mechanism is skew between clock and reliable server.

No comments:

Post a Comment