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

NMRangeSlider inside UIPageViewController ? #71

Open
AnthoPakPak opened this issue Jan 23, 2016 · 0 comments
Open

NMRangeSlider inside UIPageViewController ? #71

AnthoPakPak opened this issue Jan 23, 2016 · 0 comments

Comments

@AnthoPakPak
Copy link

Does anybody has an idea about integrating NMRangeSlider inside UIPageViewController ?

Indeed, when trying to track the slider, the page view controller take the advantage and swipe page. It works if we touch the tracker for 150-200 ms before tracking, but it's an undesired effect.
One of solution for UISlider is to disable delaysContentTouch like that :

for (UIView *view in pageViewController.view.subviews) {
if ([view isKindOfClass:[UIScrollView class]]) {
UIScrollView *scrollView = (UIScrollView *)view;
scrollView.delaysContentTouches = NO;
}
}

But it does not work for NMRangeSlider...
Does anybody has a solution for it ?
Thanks in advance !

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