在iPhone上准确的时间 [英] Accurate time on iPhone

查看:122
本文介绍了在iPhone上准确的时间的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在iPhone上精确地获得时间?目前我正在尝试使用 ios NTp客户端 这里。与不同的分部比较,我差不多有600毫秒的差距。即使我不担心像 ntp 这样的准确时间,我想在不同的设备中显示与毫秒相同的时间。

解决方案

查看适用于iOS的NTP客户端库: https://code.google.com/p/ios-ntp/



资料来源: a href =http://stackoverflow.com/questions/2269532/network-time-protocol-for-iphone> 1


Is there an way to get a time very precisely in iPhone.? Currently i am trying with the ios NTp client Here . I am getting almost 600 milliseconds difference while comparing with different divices . Even i am not worrying about the accurate time like ntp , I want to show same time with milliseconds in different devices.

解决方案

Check out this NTP client library for iOS: https://code.google.com/p/ios-ntp/

Source: 1

这篇关于在iPhone上准确的时间的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆