1

I have the following screen (image) which shows a side menu when the button is pressed the menu appears, plus I have a uitableview to show other things

enter image description here

my problem is that when the side menu appears the uitableview is resized.

How do I keep my uitableview intact? I've been trying the next but I have not got anything:

@IBOutlet weak var Vmenu_usuario: UIView!
@IBOutlet weak var tableView: UITableView! 

override func viewDidLoad() {
        super.viewDidLoad()
        view.sendSubview(toBack:tableView)
        view.bringSubview(toFront:Vmenu_usuario)
 }
Eric Aya
  • 69,000
  • 34
  • 174
  • 243
Dimoreno
  • 229
  • 2
  • 14

1 Answers1

0

If you want to delete White space view over tableview

uncheck the option 'Adjust Scroll View Insets'.

enter image description here

more detail: Empty white space above UITableView inside a UIView

Hope this hellp.

Matthias Seifert
  • 1,929
  • 2
  • 27
  • 39