'Can I change the Weekday format to be like (Su, Mo, Tu, We, Th, Fr, Sa) in FSCalendar
I want to change the current week title to two letters, eg: sun to su, mon to mo, in FSCalendar.
Solution 1:[1]
You Can Create a Xib and set a label or Button as per Your Requirement.
You can do this by adding a subview in fscalendar for weekDays. I ADDED SINGLE LETTER BUT YOU CAN ADD according to your requirements. 1- create View
Final Step
let week_days_view = weekDaysView.instanceFromNib() as! weekDaysView
week_days_view.frame = self.fsCalendar.calendarWeekdayView.frame
self.fsCalendar.calendarWeekdayView.addSubview(week_days_view)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | iFateh |