开发者

UIScrollView with paging enabled: strange behavior when swiping left or right

开发者 https://www.devze.com 2023-04-06 02:04 出处:网络
I have a UIScrollView and it has paging开发者_JS百科 enabled (vertically). Swiping up or down scrols to the previous or next page as expected.

I have a UIScrollView and it has paging开发者_JS百科 enabled (vertically). Swiping up or down scrols to the previous or next page as expected. However when swiping left or right, the previous or next page is shown without any animation. I cannot find a setting to disable this! The view is exactly as wide as the surrounding view. It only scrolls vertically. What's the best approach?

0

精彩评论

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

关注公众号