问题
Create the tableView in the storyboard, and set the constraints to arrive the all around. 
But when running on simulator, there appear some space form the top to the first cell.
The issue on simulator:
The Debug View Hierarchy:
And in the storyboard i set the constraints :
回答1:
In the attribute inspector of your view controller try to disable Adjust Scroll View Inset, see below image
回答2:
if your navigation bar is translucent then you can unselect the adjust scroll view insets for your view controller in storyboard
回答3:
I think you should check your constraints
回答4:
In the attribute inspector of your view controller try to disable Extended Edges->underTopBar
来源:https://stackoverflow.com/questions/40280134/q-tableview-created-by-storyboard-running-appears-space-form-the-top-to-the-fir