Find correct time on iOS device

后端 未结 3 923
傲寒
傲寒 2021-01-23 09:40

I want to find out correct time on iOS devices even though user have set wrong time manually. In the setting->General->Date & Time there is option of Set Automatically if t

3条回答
  •  再見小時候
    2021-01-23 10:11

    Use NTP protocol for getting a current time or serve a time from your server and get it on application launch.

    Apple doesn't provide by default any way to get time from NTP unfortunately and all time related function are using local time that user can change.

提交回复
热议问题