检测iPhone 24小时时间设置 [英] Detect iPhone 24-Hour time setting

查看:105
本文介绍了检测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?

谢谢

推荐答案


  • 一个

  • 两个

  • 三个

    • one
    • two
    • three
    • 可能还有很多很多...

      and there's probably many, many more...

      这篇关于检测iPhone 24小时时间设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆