要测试iOS10 可以下载模拟器,因为目前基本找不到iOS10的真机了。
-
tableView numberOfRowsInSection:QCTReceiptsubFilterViewSection4KeyTypeTitle]的使用执行顺序在iOS10的特殊之处:不能在在方法中- (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{调用,否则会造成死循环。 -
heightForFooterInSection 在iOS10 即使高度返回0 也会显示视图
tableView:numberOfRowsInSection 不能在方法中 - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section{
调用,否则会造成死循环。
在iOS10 中不显示viewForFooterInSection的正确做法是,将tableView:viewForFooterInSection: 和tableView:heightForFooterInSection:方法都注释掉

















