开发者

Pass in an animation with ScrollTo?

开发者 https://www.devze.com 2023-03-09 23:23 出处:网络
When using the scrollTo function (a member of the slideView object), is it possible to pass in an animation as well so that I can control the speed of the scrolling and other 开发者_开发百科pertinent

When using the scrollTo function (a member of the slideView object), is it possible to pass in an animation as well so that I can control the speed of the scrolling and other 开发者_开发百科pertinent variables?

If not, what other options do I have?


Are you talking about a tableView.scrollToIndex in which the second property is the animation.

Or are you talking about scrollView.scrollTo in which the properties are x, y? If it's this one then I don't believe there is a way to animate it using the scrollTo method.

0

精彩评论

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