I have a problem with a UITableView where the scroll indicator starts off too low, there is a space between the top position of the scroll indicator and the actual top of the tableview, as if there is an inset or offset set. This happens when I make the tableview go underneath the tabbar (superview bottom = 0), it does not happen if the tableview stops right above the tabbar (bottom layout guide = 0). I've marked the tableview size in the screenshots below.
I've added some print statements to see what is going on, but they all return zero for all values.
print(tableView.contentOffset)
print(tableView.contentInset)
print(tableView.adjustedContentInset)
print(tableView.scrollIndicatorInsets)
How can I remove this weird spacing?

