更新时间:2023-11-17 15:34:04
您只需要设置 contentInset
表视图的属性。您可以根据需要设置值。
You just need to set contentInset
property of the table view. You can set value according to your need.
self.tableView.contentInset = UIEdgeInsetsMake(0,-15,0,0) ;
self.tableView.contentInset = UIEdgeInsetsMake(0, -15, 0, 0);
输出结果