I have two tabs and two different tables in each tab. There is a button below each table. I'm using the same constraints for both of them, and yet in one tab, my table header is using too much space and pushing the actual table down.
Here's the normal table:
The table I'm having trouble with:
Here are the constraints I'm using:
I've been searching for a solution online for hours and even recreated the entire layout and code. I have no idea why this isn't working.
This post answered my question.
YourStoryboard.storyboard > YourViewController > Attributes inspector > Uncheck - Adjust scroll view insets.