开发者

UIScrollView problems

I've implemented a scrollview that loads 8 images, I also have 8 images with interaction enabled and touch events so when a user touches one of the 8 images the scrollview scrolls to that position, the user can also scroll manually. All works great apart from one thing.

If you scroll to say page 4 in the scrollview, then decide you want to view image 8 and touch the 8th image, the scrollview will scroll to that image correctly, the problem is that if you now touch t开发者_Go百科he scrollview it automatically scrolls back to page 4, which I don't want to do.

Any help.

Thanks


I've fixed the problem, it was to do with paging mode, so I only enable paging when tracking and dragging and disable it at all other times, this works great now.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜