Fscalendar: Is it possible to show only the days of the current month?

Created on 20 Jul 2016  路  6Comments  路  Source: WenchaoD/FSCalendar

I need to build an app with an ios-like calendar, but I can't find how to hide the the days of the previous and the next months.

Thank you in advance.

Most helpful comment

Hi, I don't know if you still need that but it might help other people so here is the solution.
You can set "calendar.placeholderType = .none"

All 6 comments

Use -minimumDateForCalendar and -maximumDateForCalendar methods

If I use -minimumDateForCalendar and -maximumDateForCalendar then swipe and next -previous button not working.

How can I use swipe for next month with only showing current months dates.

@hardik99 u find anything?

@BhavinBhadani No, I haven't got any solution for that.

Hi, I don't know if you still need that but it might help other people so here is the solution.
You can set "calendar.placeholderType = .none"

self.calendar.placeholderType= FSCalendarPlaceholderTypeNone;

"calendar.placeholderType = .none"
worked awesome issue , i added in viewwill , viewdidload it worked

Was this page helpful?
0 / 5 - 0 ratings

Related issues

denikaev picture denikaev  路  5Comments

DaniloJrC picture DaniloJrC  路  5Comments

IpyCreator picture IpyCreator  路  5Comments

bizibizi picture bizibizi  路  3Comments

StanleySathler picture StanleySathler  路  5Comments