How to support fast scroll the content page?
If fast sliding, emptying the contents page，improve users quickly achieve a goal.
Sorry for not answering before. I'm not sure what you mean. Could you explain in more detail?
It doesn't matter, I'm glad you can give a reply.
If I'm fast scroll GBInfiniteScrollView, now, I need to remove the page display content to achieve a good user experience.
look this app:
fast scroll the pages container. you will see that.
So you have several UIViewControllers' views inside a GBInfiniteScrollView, don't you? And when you scroll fast you are not showing the UIViewControllers' views, is this right?
Yet! this right.
Okay, I get it. So, What do you think should be the behaviour? Any thoughts?
On a different topic, I love your app. Is it possible to know what custom control are you using for the lateral menu?
I create the lateral menu on there(https://github.com/JackTeam/XHScrollMenu), I don't know how to do the content page， if fast scroll the content page on GBInfiniteScrollView, the content page will be not show UIViewControllers' views.
I'm in the - (void) scrollViewDidEndDecelerating: (UIScrollView *) scrollView tilePages work on this method.
In the - (void)scrollViewWillBeginDragging:(UIScrollView *)scrollView pageWillDisappear work on this method.
In the - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView pageDidAppear work on this method.
So if fast scroll the GBInfiniteScrollView not show some UIViewControllers' views,
Do you mind to upload a demo project that shows this problem?
OK! I'm glad you can help. I just need some time to upload the demo for you.
Hey, I have receive your demo project. So, What is the problem?
I have the same problem. If scroll very fast,sometimes the content page shows delays or blank. I think the reason it our scroll data is not prepared.To due memory,we only prepare three pages of content。when scroll it very fast,the target position is always being in the calculation,only when scroll down,it begin to init data.In complex ViewController,it may cause delays or blank,This is my view。
I have just added this method to scroll a specific page:
* Scrolls a specific page.
* @param index Index of the page
* @param animated YES if the scrolling should be animated, NO if it should be immediate.
- (void)scrollToPageAtIndex:(NSUInteger)index animated:(BOOL)animated;
In the demo project you can find a example of use.
I hope it helps.
this is very cool, but i need fast scroll page on my finger. Do you know what I mean？
Sorry, I think I misunderstand you 😅. I'll see what I can do.
scroll it as fast as possible,not normal scroll,it's extreme testing! sometime it causes this problem!