I'm using ActionSheetPicker_3_0 for displaying the time in picker list.In 12 hours format listing show correctly but it only allow to select the current time not the other time. How i can select other time not the current time.Also I want to open the another list in 24 hours time format.I've tried a lot solutions but nothing is working. For 12 Hours Format:
ActionSheetDatePicker.show(withTitle: "from", datePickerMode: .time,
selectedDate: Date(), minimumDate: date, maximumDate: Date(),
doneBlock: { _, selectedDate, _ in
let formatter = DateFormatter()
formatter.dateFormat = "hh:mm"
let time = formatter.string(from: (selectedDate as? Date)!)
statTime.text = time
IQKeyboardManager.shared.enable = true
}, cancel: { _ in
IQKeyboardManager.shared.enable = true
}, origin: self. statTime) }