0

I have a UIScrollView which contains many different labels and other stuff. I scroll the uiScrollView to the bottom and then change the tab using tabbar at the bottom which is always visible. Then I switch back to the same view which contains UIScrollView. When I try to scroll to the top it stops in the middle. How can I reset the UIScrollView or maintain the scrolled position.

I am using iOS 6 for iPhone.

4

1 回答 1

1
setContentOffset:animated: 

这将设置与接收者原点相对应的内容视图原点的偏移量。

于 2012-11-14T19:30:03.377 回答