1

When displaying the left menu, the scrollview goes under the status bar. enter image description here

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?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Oscar J. Irun
  • 455
  • 5
  • 17

1 Answers1

1

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!

Oscar J. Irun
  • 455
  • 5
  • 17