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

Is it possible to show only the days of the current month? #372

Closed
alanpaivaa opened this issue Jul 20, 2016 · 6 comments
Closed

Is it possible to show only the days of the current month? #372

alanpaivaa opened this issue Jul 20, 2016 · 6 comments

Comments

@alanpaivaa
Copy link

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.

@WenchaoD
Copy link
Owner

Use -minimumDateForCalendar and -maximumDateForCalendar methods

@hardik99
Copy link

hardik99 commented Jan 9, 2017

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.

@BhavinBhadani
Copy link

@hardik99 u find anything?

@hardik99
Copy link

hardik99 commented Jun 26, 2017

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

@flovaguet
Copy link

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"

@brindhamani
Copy link

self.calendar.placeholderType= FSCalendarPlaceholderTypeNone;

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

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

6 participants