将 UIDatePicker 用于公历以外的日历

发布于 2024-12-21 19:23:04 字数 151 浏览 4 评论 0原文

我一直在寻找一种将 UIDatePicker 用于公历日历以外的日历的方法。有些人建议设置 UIDatePicker 的日历属性,我尝试过,但效果不佳。其他一些人建议使用 UIPickerView。

我想知道除了这些之外是否还有其他人有其他建议。

I've been looking to find a way to use UIDatePicker for calendars other than gregorian calendar. Some people suggested to set the calendar property of UIDatePicker which I tried but it didn't do much of a good. Some other people suggested using UIPickerView.

I was wondering if anyone else has any other suggestions other than these.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

醉生梦死 2024-12-28 19:23:04

似乎唯一的方法是使用 UIPickerView。 UIDatePicker 并不意味着可以定制

Seems like the only way is to use UIPickerView. UIDatePicker is not meant to be customized

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文