2

I'm using the auto layout via the storyboard.

override func viewWillAppear(animated: Bool) {

    //hide bottom bar
    self.tabBarController?.tabBar.hidden = true


}

// postload func
override func viewWillDisappear(animated: Bool) {
    self.tabBarController?.tabBar.hidden = false

}

enter image description here

As you can see black is tabczontroller's height..How do I stretch the view to screen's bottom?

enter image description here

enter image description here

enter image description here

Shawn Baek
  • 1,928
  • 3
  • 20
  • 34

1 Answers1

1

You just layout to bottom layout guide which contains the tab bar.

Lumialxk
  • 6,239
  • 6
  • 24
  • 47
  • 1
    Thanks for the reply. I had solved to check "Hide bottom Bar on Push" instead of self.tabBarController?.tabBar.hidden = true thanks :) – Shawn Baek Jun 26 '16 at 16:56