iOS 关于时间戳的一些细节
摘要:最近遇到一个bug,在iPhone上获取当前的时间戳,没有问题,而用iPad来测试的时候,出现了时间戳不对。当时的代码 (需要精确到毫秒,所以*1000)NSTimeInterval t = [[NSDate date] timeIntervalSince1970]*1000;NSString *t...
阅读全文
posted @ 2015-09-29 14:10
posted @ 2015-09-29 14:10
posted @ 2015-09-18 11:49
posted @ 2015-09-10 14:53