When displaying the left menu, the scrollview goes under the status bar.
I already tried to setContentInset to the tableview. It adds a top margin, but when I scroll it, it overlaps the status bar again.
Any solution for this?
When displaying the left menu, the scrollview goes under the status bar.
I already tried to setContentInset to the tableview. It adds a top margin, but when I scroll it, it overlaps the status bar again.
Any solution for this?
Putting the code Roma-MT provided:
[myTableView setFrame:CGRectMake(0, 20.0, self.view.frame.size.width, self.view.frame.size.height-20.0)];
in viewDidAppear worked!