开发者

how to set current scrolling values

开发者 https://www.devze.com 2023-03-02 03:12 出处:网络
If I have a UIScrollView and move it around to a specific location, is there any way 开发者_StackOverflow社区to get that position it has moved too?

If I have a UIScrollView and move it around to a specific location, is there any way 开发者_StackOverflow社区to get that position it has moved too?


Check UIScrollView's contentOffset property:

contentOffset - The point at which the origin of the content view is offset from the origin of the scroll view.

Get the current UIScrollView scroll values on the iPhone

0

精彩评论

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