Sham Dhiman
Sham Dhiman

Reputation: 1556

How to change background colour in Fscalender customize Swift

I am trying to change background colour of weekdays and set current date border like below screen shot.

ScreenShot

My screen shot:

enter image description here

Team, please let me know how to change background colour and set border colour Any help would be greatly appreciated. Looking forward to hear from you.

Upvotes: 0

Views: 2105

Answers (1)

Val Moratalla
Val Moratalla

Reputation: 211

  1. First, change background color of FSCalendar to clear.
  2. Add a custom view (background gray) and place it below the calendar and add constraints.
  3. Set weekday textcolor to white.

Main Storyboard

Screen Shot

As for modifying today appearance, please download the FSCalendar Example-swift project and check DelegateAppearanceViewController to have a better understanding on how to modify the overall appearance.

Delegate Appearance

Screen Shot

Upvotes: 1

Related Questions