Change the color of day
opened this issue · comments
Deleted user commented
Hello,
Thanks for a great library. Wanted to know how would it be possible to change the text color of the day text, i.e., "MON, TUE" etc. I did see some issues regarding this, but was not of help.
p.s. I'm doing this in swift.
Thanks.
Deleted user commented
Never mind, did find a solution for it.
func calendarBuildWeekDayView(_ calendar: JTCalendarManager!) -> UIView! {
let jtCalenderWeekDayView = JTCalendarWeekDayView()
for label in jtCalenderWeekDayView.dayViews {
(label as! UILabel).textColor = UIColor.white
}
return jtCalenderWeekDayView
}