DatePickerDialog-iOS-Swift
DatePickerDialog-iOS-Swift copied to clipboard
How to disable a particular date in DatePickerDialog ?
Hey all,
i'm working on a datePicker for booking system. I need to disable some dates because there aren't available for booking (restaurant closed on 28/11/2016 for example) is there any way to do it ?
Thank You !
Hey @ShadowSynthesis, we currently do not support that.
I looked into this StackOverflow question and you can do it with the UIDatePicker dalegate inside DatePickerDialog.swift
If you have time, it would be awesome if you opened a PR adding this functionality!