0

i'm using FSCalendar and want to remove days (Sun, mon, Tue, Wed, Thu, Fri, and Sat) from calendar

enter image description here

for now i only change the color to clear

calendarView.appearance.weekdayTextColor = UIColor.clear
Ariel Gemilang
  • 796
  • 2
  • 20
  • 42

2 Answers2

5

You can hide/remvove days from calendar using calendarWeekdayView.

Hide

calendarView.calendarWeekdayView.isHidden = true

Remove

calendarView.calendarWeekdayView.removeFromSuperview()
RajeshKumar R
  • 15,445
  • 2
  • 38
  • 70
1

This library contains the property to handle this condition

self.calendar.weekdayHeight = 0

and this will remove the days header.

Venu Gopal Tewari
  • 5,672
  • 42
  • 41