huynguyencong / NHNetworkTime

A simple network time protocol SNTP open source for iOS, get the correct time.
Apache License 2.0
118 stars 22 forks source link

Time sync completion block never get called #3

Closed zenghaojim33 closed 8 years ago

zenghaojim33 commented 8 years ago

Hello, I clone the project and test it on my iphone6. I found that the sync block never get called thus the text label always shows "Time is not synchronized",and both time babe shows the wrong local time. I ping the ntp server seems the network is fine. Any idea why this happened? Thanks.

huynguyencong commented 8 years ago

May be that is a problem with the Example. I've just updated new version, improve the example. Let me know if the issue still happen. Thank you!

zenghaojim33 commented 8 years ago

Wow ok I know what happened. I'm using shadowsocks (a http proxy that allows me to visit the blocked website) on my iPhone and somehow it affects this example as well. I turned the proxy off and everything works just fine. My bad.

huynguyencong commented 8 years ago

OK, thank you. I will close that issue. So, it is not my code error