Hello guys,
Can you give me direction how I can build same time picker as in iOS?
Thanks a lot
Bogdan
Hello guys,
Can you give me direction how I can build same time picker as in iOS?
Thanks a lot
Bogdan
Use Datepicker plugin.
ionic plugin add com.plugin.datepicker
and then
$scope.setCheckinTime = ->
options = {date: new Date(), mode: 'time'}
$cordovaDatePicker.show(options).then(
(date) ->
$scope.checkinTime = date
)
Thanks for the quick answer.
It is the same as on the screenshot?
The top part will be the same on iOS but different on android. It is using native date/time picker
Thanks again. I suppose you mean to add this plugin?
Thanks
Bogdan
just do ionic plugin add com.plugin.datepicker