Fscalendar: Today is already selected.How to disable today showing selected.

Created on 10 Nov 2016  路  4Comments  路  Source: WenchaoD/FSCalendar

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

Most helpful comment

calendar.today = nil

All 4 comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

StanleySathler picture StanleySathler  路  5Comments

DaniloJrC picture DaniloJrC  路  5Comments

adavan2107 picture adavan2107  路  5Comments

KushThakkar picture KushThakkar  路  6Comments

kunass2 picture kunass2  路  4Comments