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 stop scroll in direction of future month? #359

Closed
sashalondon opened this issue Jul 6, 2016 · 2 comments
Closed

Is it possible to stop scroll in direction of future month? #359

sashalondon opened this issue Jul 6, 2016 · 2 comments

Comments

@sashalondon
Copy link

I want to make the calendar only scroll towards the past. I have seen the calender.scrollEnabled = false however this does not have anything about a future month (or I can't figure it out).

@WenchaoD
Copy link
Owner

WenchaoD commented Jul 7, 2016

@sashalondon There are

- (NSDate *)minimumDateForCalendar:(FSCalendar *)calendar;

and

- (NSDate *)maximumDateForCalendar:(FSCalendar *)calendar;

@sashalondon
Copy link
Author

Amazing thank you.

@WenchaoD WenchaoD closed this as completed Jul 7, 2016
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

2 participants