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

前端 未结 15 2388
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:44

    I realize this was answered a long time ago, but for anyone else running into a similar situation, I'll share what ended up working for me:

    If you're using a xib, select the top level view and set 'Status Bar' to 'None' in the Simulated Metrics area of the Attributes Inspector. Fixed my spacing issue right up.

提交回复
热议问题