Is there a clock in iOS that can be used that cannot be changed by the user

后端 未结 6 1099
长发绾君心
长发绾君心 2020-11-30 02:52

I am trying to design a system where real-time events happen and I want to synchronise them to a clock. [NSDate date] would normally be ok but the user could c

6条回答
  •  天涯浪人
    2020-11-30 03:14

    The only idea that I can think of is to use a NTP server to obtain the clock, but that would require network connectivity.

提交回复
热议问题