aircraft aircraft - 6 months ago 38
iOS Question

Q: tableView created by storyboard running appears space form the top to the first cell

Create the

in the
, 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:

on the simulator

The Debug View Hierarchy:

Debug View Hierarchy

And in the storyboard i set the constraints :



In the attribute inspector of your view controller try to disable Adjust Scroll View Inset, see below image

enter image description here