Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change header background color? #507

Closed
bgoncal opened this issue Dec 5, 2016 · 3 comments
Closed

How to change header background color? #507

bgoncal opened this issue Dec 5, 2016 · 3 comments

Comments

@bgoncal
Copy link

bgoncal commented Dec 5, 2016

How to change header background color? I know that i can change the text colors, but what I need is to change just the header where show "november" or "december" or anyother month to a different color.

@kallahir
Copy link
Contributor

Hi,

Use the calendarHeaderView attribute from the calendar, here goes a sample code:

self.calendar.calendarHeaderView.backgroundColor = UIColor.blue

@bgoncal
Copy link
Author

bgoncal commented Dec 15, 2016

Thank you @kallahir

@bgoncal bgoncal closed this as completed Dec 15, 2016
@kartikqss
Copy link

@kallahir Can you explain How to add a menu button in calendarHeaderView?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants