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

后端 未结 1 617
一整个雨季
一整个雨季 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)
提交回复
热议问题