【发布时间】:2014-05-14 12:28:33
【问题描述】:
当我从我的应用程序打印此内容时:
NSLog(@"%@", [NSTimeZone localTimeZone]);
日志显示:
Local Time Zone (Europe/London (GMT+1) offset 3600 (Daylight))
或
Local Time Zone (US/Eastern (GMT-4) offset -14400 (Daylight))
有没有只返回地点的接口?例如 Europe/London 或 US/Eastern?我真的不想解析结果字符串。
【问题讨论】: