由此可见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/