How to check the correct current time if user sets “Set Automatically” off

后端 未结 1 616
一整个雨季
一整个雨季 2021-01-15 20:50

I have to check the correct current time if user sets \"Set Automatically\" off.

Is there any way to access the status of \"Set Automatically\" setting status so tha

相关标签:
1条回答
  • 2021-01-15 21:14

    If you can't rely on the local clock, you need to use an external source. There are (probably) several NTP-based libraries for this. For example: ios-ntp, which can currently be found here.

    0 讨论(0)
提交回复
热议问题