开发者

how to set current scrolling values

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜