检测iPhone 24小时时间设置 [英] Detect iPhone 24-Hour time setting
本文介绍了检测iPhone 24小时时间设置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用UIDatePicker选择时间。我也在自定义选择器的背景,但是我需要2张不同的图像,具体取决于用户使用的是12小时模式(显示AM / PM列)还是24小时模式。
如何检测12/24小时的用户设置?
I'm using a UIDatePicker to select a time. I am also customising the background of the picker, however I need 2 different images depending on whether the user is using 12 hour mode (which displays AM/PM column) or 24 hour mode. How can I detect the users setting for the 12/24 hour time?
谢谢
推荐答案
查看全文