I have a silly question. But I just don’t know the specific name of this number slider component?
I am designing an app, and I want to implement this into my code. But I can’t do any research on it if I don’t even know the name of it.
Hope someone knows the specific technical term, and thanks in advance.
CodePudding user response:
From Apple's Doc
UIDatePicker
A control for the inputting of date and time values.
Configurating DatePicker
The datePickerMode property determines the configuration of a date picker. You can set the datePickerMode value programmatically or in Interface Builder. For modes that include date or time values, you can also configure the locale, calendar, and time zone information.
CodePudding user response:
Your screenshot specifically is a:
- SwiftUI:
DatePicker
- UIKit:
UIDatePicker
The generic component called:
- SwiftUI:
Picker
(with.style(.wheel)
) - UIKit:
UIPickerView
The date picker is internally using the picker component for its implementation (probably, it's an implementation detail).