从ios应用程序的远程服务器获取时间 [英] Get time from remote server for ios app
本文介绍了从ios应用程序的远程服务器获取时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
谢谢
解决方案
https://github.com/jbenet/ios-ntp 似乎是iOS的NTP框架,它为您提供
[NSDate networkDate];
I would like to know how my iOS app can get the datetime from a distant server (NTP ? Other..?), and not with local iPad datetime ; and transform it on NSDate.
Thanks
解决方案
https://github.com/jbenet/ios-ntp seems to be a NTP framework for iOS which gives you
[NSDate networkDate];
这篇关于从ios应用程序的远程服务器获取时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文