iOS 7 UITableView: How to remove space between navigation bar and first cell

前端 未结 15 2381
Happy的楠姐
Happy的楠姐 2020-12-04 07:15

Description of the problem: with iOS 7 in grouped UITableView there is a gap between the top of the table view and the first cell.

The strange part is th

15条回答
  •  鱼传尺愫
    2020-12-04 07:33

    For solve this problem make sure that you unchecked this field on ViewController:

    On ViewController >> Attibutes Inspector >> Layout (unchecked - Adjust Scroll View Insets)

    if this is not enough, try this on TableView, set Style to Plain:

    This will solve your problem

提交回复
热议问题