AMSlideMenu overlaps status bar?

92 views Asked by At

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?

1

There are 1 answers

0
Oscar J. Irun On

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!