Fscalendar: Hiding header

Created on 7 Apr 2016  ·  10Comments  ·  Source: WenchaoD/FSCalendar

Is it possible to hide the header? I don't need one and it just takes place.
I know i can set height for zero, but I want to disable it at all.

Most helpful comment

@GaneshKumarSelvam I guess I use just

calendar.calendarHeaderView.isHidden = true
calendar.headerHeight = 6.0 // this makes some extra spacing, but you can try 0 or 1

All 10 comments

calendar.appearance.headerMinimumDissolvedAlpha = 1

This will hide your calendar header which is showing Ex:- April 2016

I think you meant 0. But actually that doesn't hide the header, but just change prev/next month labels' alpha.

I user calendar.headerHeight = 0.0 (also available via IB), but not sure if that's proper way. It can be still rendered and use resources, but just being invisible.

Give header title color to UIColor.clearColor;

self.calendar.appearance.headerTitleColor = UIColor.clearColor

Check this code

I believe this only hides the title, but place for it stays visible.

You can put your view on that particular portion.

@sochalewski got any solution for decreasing and hiding the header

@GaneshKumarSelvam I guess I use just

calendar.calendarHeaderView.isHidden = true
calendar.headerHeight = 6.0 // this makes some extra spacing, but you can try 0 or 1

screen shot 2019-01-29 at 11 19 03 pm
I need like this what I do sir..

Was this page helpful?
0 / 5 - 0 ratings

Related issues

garudaonekh picture garudaonekh  ·  4Comments

DaniloJrC picture DaniloJrC  ·  5Comments

vishal-iosdeveloper picture vishal-iosdeveloper  ·  5Comments

TomWang1 picture TomWang1  ·  5Comments

denikaev picture denikaev  ·  5Comments