-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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 change FSCalendar scope by vertical swipe gesture? #244
Comments
Basiclly you can add a UISwipeGestureRecognizer to FSCalendar, and handle the action by changing scope: - (void)handleSwipe:(id)sender
{
[self.calendar setScope:FSCalendarScopeWeek animated:YES];
} But as the calendar already has an inner swipe gesture for vertical scrolling, you should handle the gesture confliction yourself. But no need to worry if the direction of calendar is |
Sorry for messing with a closed thread, but did @bakomchik get a solution to this issue? It happens to me too |
It happens to me too. swiping gesture to change from week scope to month scope is changing shown date to 2027. |
There is a gesture for this function inside. To enable: calendar.scopeGesture.enabled = YES; |
@WenchaoD Thank you. I've updated to the last version and it works well. |
How to stop vertical swipe when calendar is in week form.@WenchaoD |
by default the direction of calendar in horizontal but to move calendar vertically simply add this line |
HI, great thanks for pretty good Calendar.
Can you tell me, Is it possible to change FSCalendar scope by vertical swipe gesture?
Thanks
The text was updated successfully, but these errors were encountered: