objective-c - Objective-C : Can the Countdown timer Picker be used as a hour/min picker?

标签 objective-c ios datetimepicker countdown

我想知道我是否可以直接使用标准倒计时选择器作为小时/分钟选择器,例如用户可以选择小时数和分钟数作为 parking 时间等...

基本上,我希望在没有倒计时功能的情况下使用倒计时选择器界面。

最佳答案

是的,它非常适合这个。

参见 here :

The UIDatePicker class implements an object that uses multiple rotating wheels to allow users to select dates and times. iPhone examples of a date picker are the Timer and Alarm (Set Alarm) panes of the Clock application. You may also use a date picker as a countdown timer.

你也可以用它来发挥创意。

关于objective-c - Objective-C : Can the Countdown timer Picker be used as a hour/min picker?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6067528/

相关文章:

ios - 保存照片到相册iOS,不要全部保存

iphone - 使 iPhone 应用程序通用

ios - 如何使用Quickblox IOS更新已发送和已接收消息的读取和传递状态?

ios - 使用客户端证书身份验证时,为什么我总是收到 NSURLErrorDomain Code=-1206?

windows-8 - 日期时间选择器绑定(bind)问题

angularjs - Angular Bootstrap DatePicker - 在嵌入式日历上突出显示今天日期

objective-c - 程序化屏幕截图歪曲了最近邻

iOS - 当全局计算发生时 UIViewControllers

objective-c - 当 ViewController 从 UIStoryboard 实例化时,isMemberOfClass 返回 no

vb6 - 更改 DTPicker 上的一周开始日