I am currently trying to put a UITableView
in a different location rather than at the top of my view controller. With this said, it is trying to add the header
Select the tableview in your storyboard and ensure that the style is set to "Plain", instead of "Grouped". You can find this setting in the attributes Inspector tab.
I just found a solution for this.
Just select tableview and clic Editor -> Arrange -> Send to Front
It worked for me and hope it helps you all.
Set the content insets to zero:
I had this same problem and I'm pretty sure I had a UIView in there at one point. Simply copying the entire table view, deleting it, and pasting it again fixed it for me.
In the Storyboard , set the contentInsets
of your tableview
to Never
I'm still not sure what caused that extra space at the top, but I found that deleting the UITableView with the space and replacing it with a new one took the space away.
I must have dragged a UIView in there accidentally, but I couldn't select it so I couldn't delete.