Hi
today is already selected in calendar.
can i disable already selected today ?
also i want to disable a particular date is there any methods to disable already selected date
Thanks
calendar.today = nil
Please don't try to set minimum date as calendar.today, because it crash as today is already nil and you will get crash on method so use
func minimumDate(for calendar: FSCalendar) -> Date {
return "pass custom today's date object "
}
calendar.today = nil creates issue in release mode . like other than selected date ,all other dates in screen are highlighted in today date highlight color.once u scroll its working fine
This is my solution for this issue :D
// Remove today auto select
calendar.appearance.todayColor = nil
calendar.appearance.titleTodayColor = calendar.appearance.titleDefaultColor
Most helpful comment