-
Notifications
You must be signed in to change notification settings - Fork 308
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
ScrollView isnt scrolling #39
Comments
this did the trick - (void)setDragable:(BOOL)dragable { _dragable = dragable; if (self.isDragable) { self.gesture = [[ZFDetectScrollViewEndGestureRecognizer alloc] initWithTarget:self action:@selector(handlePan:)]; self.gesture.delegate = self; UIView * view = self.modalController.view; if ([self.modalController isKindOfClass:[UINavigationController class]]) { view = [[(UINavigationController *)self.modalController topViewController] view]; } [view addGestureRecognizer:self.gesture]; } } |
note that the navigation bar itself is not draggable |
there should be maybe a separate gesture recogniser for the scroll view |
@peterpaulis Thanks :) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When pushing a NavigationView controller, with a view controller that has a scrollview
and setting
[self.animator setContentScrollView:detailViewController.scrollview];
disables the scroll view scrolling
any ideas?
The text was updated successfully, but these errors were encountered: