UItableView 与 tableFooterView中间多出一部分, 蓝色为UItableView, 红色部分为tableFooterView,但是中间多出的部分还没有搞清楚
原因在与:初始化UItableView使用的是:UITableViewStyleGrouped
tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 44 * widthScale, WIDTH, HEIGHT/2) style:UITableViewStyleGrouped];
消除这个之间的空隙要选用UITableViewStylePlain
tableView = [[UITableView alloc] initWithFrame:CGRectMake(0, 44 * widthScale, WIDTH, HEIGHT/2) style:UITableViewStylePlain];
如图所示:
具体原因我还不知道,欢迎各位补充