开发者

Changing UIScrollView Paging Sensitivity

开发者 https://www.devze.com 2023-03-23 04:15 出处:网络
Anyone here happen to know how I might go about making a UIScrollView paging less sensitive? I am only scrolling left or right, but if I scroll a single pixel in the horizontal direction, the UIScro

Anyone here happen to know how I might go about making a UIScrollView paging less sensitive?

I am only scrolling left or right, but if I scroll a single pixel in the horizontal direction, the UIScrollView rockets off to the next page. I understand that the paging property stops on multiples of the scrollview's bounds, and that's total开发者_开发问答ly fine. I just don't want this to happen unless it's abundantly clear the user wants to do this.

Can this be done using the native functionality of UIScrollView or will I have to override touch events and code this myself?

Thank you in advance!

0

精彩评论

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