UIDatePicker 非连续分钟
我将 UIDatepicker timeInterval 设置为 30 分钟,因此它显示为 30,60(重复)。我真的不想重复它,只显示 2 个选项(例如 AM/PM)。有没有办法做到这一点而无需从头开始创建它?
谢谢!
I set my UIDatepicker timeInterval to 30 mins, so it shows it as 30,60 (repeating). I really don't want it to repeat, just show 2 options (like AM/PM). Is there a way to do this without creating it from scratch?
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
为什么不使用 UIPicker 来代替呢?
Why don't you use UIPicker instead?