How can I get the “internet time” on iOS? [duplicate]

妖精的绣舞 提交于 2019-12-05 13:13:31
Ben-G

Checkout this Google Library: https://github.com/jbenet/ios-ntp

After the library is set up you can use it with the following line:

[NSDate networkDate];

A similar question has also been answered here: Get Date and Time from Apple Server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!