Search code examples
iosswiftnscalendarfscalendar

FSCalendar hide next previous months labels swift


I have implemented FSCalendar for dates but I need to hide next previous month labels only. I have marked red in image attached for reference.

actually I have tried all properties but couldn't find it. I know for not showing last month dates I am using calendar.placeholderType = .none but I need to remove next previous month label. like as we are in current month which is MARCH but I dont want to show only label or Title of FEB or APR.

FEB -- MAR -- APR

I am using FSCalendar in swift 5.

FSCalendar


Solution

  • Use Following code will fix you issues:

    calendarView.appearance.headerMinimumDissolvedAlpha = 0