gpt4 book ai didi

ios - 更改 UIDatePicker 顺序?

转载 作者:可可西里 更新时间:2023-11-01 06:11:27 25 4
gpt4 key购买 nike

由此可见url , 日期选择器显示为 month-date-year,我可以将其更改为 date-month-year 吗?

最佳答案

根据 Developer Page,这取决于运行它的设备的区域设置。 (查看 DatePicker 模式部分)。

The exact items shown and their order depend upon the locale set.

“locale”属性可用于显式指定要使用的模式,但自 iOS 5 起已弃用。通常最好保留此设置,以便日期以用户最熟悉的格式显示他们将手机设置为该地区。

关于ios - 更改 UIDatePicker 顺序?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12345208/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com