Network Time Protocol for iPhone

前端 未结 7 2103
無奈伤痛
無奈伤痛 2020-11-30 04:38

I am writing an application that requires accurate timing. After asking this question, I have decided to investigate using NTP or maybe Simple NTP.

Is there any open

7条回答
  •  不知归路
    2020-11-30 05:26

    If you need to use NTP, but don't want to trust the iPhone (or iPod's) clock, you can always just use sockets (or Cocoa streams) and query the server yourself. It's one of the simplest network transactions out there.

    Cocoa Streams

提交回复
热议问题