Open ParthibanKrish opened 8 years ago
me too ,If only someone could help me!
I changed the way. First,you need to close
(JTHorizontalCalendarView)_calendarContentView.scrollEnabled = NO;
_calendarContentView.superview.userInteractionEnabled = YES;
UISwipeGestureRecognizer * pan1
pan1.direction = UISwipeGestureRecognizerDirectionLeft;
[_calendarContentView addGestureRecognizer:pan1];
UISwipeGestureRecognizer * pan2
pan2.direction = UISwipeGestureRecognizerDirectionRight;[_calendarContentView addGestureRecognizer:pan2];
if (_calendarContentView.contentOffset.x<=WIDTH) {
[_calendarContentView setContentOffset:CGPointMake(_calendarContentView.contentOffset.x+WIDTH, 0)];
}
if (_calendarContentView.contentOffset.x>=WIDTH) {
[_calendarContentView setContentOffset:CGPointMake(_calendarContentView.contentOffset.x-WIDTH, 0)];
}
I can only use this method for a while, I hope the author can help to look at this problem.
When the data is more than the time, the slide will be stuck in the two months between
did you find any solution to this?????? Please help Im stuck on this issue for last 2 weeks.
i do a background operation for ui update. when i scrolling the content view it stuck in the middle of two months. i have also tried dispatch async. Please give me a solution