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?
Copyright © 2021 Jogjafile Inc.
Putting the code Roma-MT provided:
in viewDidAppear worked!