iOS 开发中遇到的问题合集(自用)
2016-09-20 本文已影响0人
bamboomoon
解决 tableView 上面的间隔问题
UIView *v = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 0.1)];
self.tableView.tableHeaderView = v;
tableView 最上面有个间隔.
UIView *v = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 0.1)];
self.tableView.tableHeaderView = v;
tableView 最上面有个间隔.