Finishing from the Internet ~ This is an attribute scrollstotop of the ScrollView inherited by TableView. The official note is this:/When the user taps the status bar, the scroll view beneath the touch which are closest to the status bar would b e scrolled to top, but only if it ' scrollstotop ' is YES, it delegate does not return No. from ' Shouldscrollviews Crolltotop ', and it isn't already at the top.//on IPhone, we execute this gesture only if there ' s one on-screen scroll V Iew with ' scrollstotop ' = = YES. If more than one is found, none would be scrolled. @property (nonatomic) BOOL scrollstotop; Default is yes. the following conditions are required to implement this feature: 1. There is only one scrollview or tableview on the screen. 2. Its Scrollstotop property is set to Yes and the default is yes. Want to disable this feature set the Scrollstotop property to No. @ recently a friend asked, a viewcontroller under, put a number of TableView, click the status bar can not go back to the top, at first thought is he set the Scrollstotop to No, look under the not, the original on the IPhone, we Execute this gesture only if there ' s one on-screen scroll view with scrollstotop = = YES. If more than one is found, none would be scrolled.@ said: IOS under Uitableview/uiscrollview has a feature: Click the status bar to go back to the top. If there are multiple ScrollV under the current viewIew, or multiple TableView nested, click Back to the top is not valid, because the system does not know which response, simply disable all. @ Solution: currently show which TableView, which scrollstotop is set to Yes, the rest is set to No;
UITableView or Uiscrollview Click the status bar list back to the top