Closed skuske closed 8 years ago
You can achieve it by return NO in this delegate method
- (BOOL)calenderView:(GLCalendarView *)calendarView canUpdateRange:(GLCalendarDateRange *)range toBeginDate:(NSDate *)beginDate endDate:(NSDate *)endDate
{
// check against the limit, if exceeds, return NO
return YES;
}
Is there any way to set a maximum of days for a range, i.e. can dragging a range be limited to a specific maximum like 7 days only? Thanks.