阅读背景:

检测时间格式是否为12小时或24小时格式

来源:互联网 

Is there any way to detect if the current device of the app uses 12h our 24h format, so that I can use one NSDateFormatter for 12h and one for 24h depending on the users language/loaction setting? Just Like the UIDatePicker detects and shows the AM/PM picker if it is 12h format.Is there any way to detect if the current devic




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: