开发者

Get the current UIScrollView scroll values on the iPhone?

开发者 https://www.devze.com 2022-12-23 03:41 出处:网络
If I have a UIScrollView and move it around to a specific location, is there any way to get that position 开发者_JAVA技巧it has moved too?Check UIScrollView\'s contentOffset property:

If I have a UIScrollView and move it around to a specific location, is there any way to get that position 开发者_JAVA技巧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.

By implementing and setting UIScrollView's delegate you can also handle numerous scrolling/zooming events in UIScrollView.

0

精彩评论

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