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

如何设置日期区间? #342

Closed
tivon-lee opened this issue Jun 24, 2016 · 2 comments
Closed

如何设置日期区间? #342

tivon-lee opened this issue Jun 24, 2016 · 2 comments

Comments

@tivon-lee
Copy link

如何设置最大日期和最小日期,只有中间的时间可以显示

@tivon-lee
Copy link
Author

  • (NSDate *)minimumDateForCalendar:(FSCalendar *)calendar
    {
    return [calendar dateWithYear:2015 month:2 day:1];
    }
  • (NSDate *)maximumDateForCalendar:(FSCalendar *)calendar
    {
    return [calendar dateWithYear:2039 month:5 day:31];
    }

@tivon-lee
Copy link
Author

i get it

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

1 participant