You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 !
The text was updated successfully, but these errors were encountered:
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 !
The text was updated successfully, but these errors were encountered: