aircraft aircraft - 1 year ago 97
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 :


Answer Source

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

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download