UITableViewSectionHeader背景色问题
2016-12-27 本文已影响76人
一线码农
控制台提示: Setting the background color on UITableViewHeaderFooterView has been deprecated. Please use contentView.backgroundColor instead
解决办法:把xib中的把backgroundcolor改成default就不会有提示了。如果想设置背景颜色可以用headerView.contentView.backgroundColor进行设置。