如何去除tableView底部多余的线
2017-04-11 本文已影响92人
amoLink
如果tableView太高,而有数据的cell却只有几行,就会出现多余的线,只需下面一行代码就看去除多余的线:
tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];
如果tableView太高,而有数据的cell却只有几行,就会出现多余的线,只需下面一行代码就看去除多余的线:
tableView.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero];