【发布时间】:2014-09-11 00:16:33
【问题描述】:
在模拟器中:
"Sunday, July 20, 2014 at 7:00:42 PM Singapore Standard Time"
在实际设备中:
"Sunday, 20 July, 2014 7:16:44 pm Singapore Standard Time"
为什么????
【问题讨论】:
标签: ios iphone ios-simulator
在模拟器中:
"Sunday, July 20, 2014 at 7:00:42 PM Singapore Standard Time"
在实际设备中:
"Sunday, 20 July, 2014 7:16:44 pm Singapore Standard Time"
为什么????
【问题讨论】:
标签: ios iphone ios-simulator
模拟器使用您 Mac 的区域设置,这可能与您设备上的不同。特别是,Mac OS X 允许在语言和区域系统首选项窗格中对您的区域设置进行更大程度的自定义。
即使它们都设置为相同的值,也不能保证输出相同。
【讨论】: