iOS

  • 一行代码搞定,以下两种方式均可
   
 self.tableView.contentInset = UIEdgeInsetsMake(-35, 0, 0, 0);
 tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 0, CGFLOAT_MIN)];

原文地址:https://www.cnblogs.com/adampei-bobo/p/7411286.html