I'm using a basic Three20 TTTableViewController
subclass which employs its own datasource and model.
The problem is that I cannot seem to use the scrollsToTop property of the table. This is a standard property for the table, inherited from UIScrollView and very commonly used.
I have tried all of the following, in numerous different locations/methods within my class:
self.tableView.scrollsToTop = YES;
[self.tableView setScrollsToTop:YES]
I have also tried overriding the method
- (BOOL)scrollViewShouldScrollToTop:(UIScrollView *)scrollView {
return YES;
}
All without success.
NB. To be clear, I am referring to the standard gesture of tapping on the status bar to scroll a visible table view to the top (i.e. first row).
Any help much appreciated!