如何在UIDatePicker中将Minutes Component设置为0 [英] How to set Minutes Component to 0 in UIDatePicker

查看:62
本文介绍了如何在UIDatePicker中将Minutes Component设置为0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何将UIDatePicker中的Minute componet设置为零

How to set Minute componet in UIDatePicker to Zero

推荐答案

如果您的问题是将 UIDatePicker 设置为仅以分钟为单位显示 00 ,则答案是.

If your question is to set the UIDatePicker to display only the 00 in minute component, then the answer is NO.

您可以更改UIDatePicker的 minuteInterval 属性--->最小值为1;最大值是30.

You can change the minuteInterval property of UIDatePicker---> the minimum value is 1; the maximum value is 30.

这篇关于如何在UIDatePicker中将Minutes Component设置为0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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