Using Xcode 4.6.1, iOS SDK 6.1, creating a new Master-Detail iOS application (with ARC, no storyboards) and in the DetailViewController I make configureView as:
- (void)configureView
{
UITableView *lTableView = [[UITableView alloc] initWithFrame: self.view.frame];
lTableView.scrollsToTop = YES; // just to emphasise, it is the default anyway
lTableView.dataSource = self;
[self.view addSubview: lTableView];
}
Then I make sure there is enough data in the UITableView by returning 100 dummy UITableViewCells, it seems a tap on the status bar does not scroll the table view to the top.
What is the obvious thing I am missing here?