控制台提示: Setting the background color on UITableViewHeaderFooterView has been deprecated. Please use contentView.backgroundColor instead 解决办法:把xib中的把backgroundcolor改成default就不会有提示了。如果想设置背景颜色可以用headerView.contentView.backgroundColor进行设置。