sebenalern
sebenalern

Reputation: 2561

UITableView not filling the bottom on the screen

So I have looked at some examples and a blog tutorial already. But the problem with my TableView is it is not filling the bottom of the screen. In the view I have the tableview filling the bottom of the screen. Here is the layout of my storyboard:

Now here is what it looks like when I run it:enter image description here

How can I extend the tableviewcells to the bottom of the screen? Thanks for the help and your time.

Upvotes: 0

Views: 822

Answers (2)

sebenalern
sebenalern

Reputation: 2561

Okay I figured it out initially I wanted a scroll view on the whole view, so it was also in the space of the tableview which would autoresize the tableview. So I just had to uncheck Autoresize Subview and it worked.

Upvotes: 1

Konstantin
Konstantin

Reputation: 307

In interface builder when you have your ViewController selected try unchecking "Adjust Scroll View Insets" parameter.

Upvotes: 1

Related Questions