简体   繁体   中英

UIDatePicker as Countdown timer with seconds (Swift)

So, apple updated the timer app in IOS 11, and one of the most useful things they've done is add a seconds column in the countdown timer, like this: countdown timer

I am building an app for personal use and need to use the timer, but for intervals smaller than a minute, but on xcode I can't use the same date picker that Apple used. Is there a way to build one or to make the UIDatePicker look like that?

Note: I don't understand Objective-C

您正在寻找UIPickerView来帮助您配置类似 UIDatePicker 的界面,但可以从中选择自定义值。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM