混編
pragma mark - UITableViewDelegate
必須寫下面的代理,否則你會(huì)崩潰
//表示cell的內(nèi)容縮進(jìn)
- (NSInteger)tableView:(UITableView *)tableView indentationLevelForRowAtIndexPath:(NSIndexPath *)indexPath{
//表示動(dòng)態(tài)cell在section 為 1 靜態(tài)cell的section 0
if (indexPath.section == 2) {
return self.selectedItemMArr.count + 1;
}
return indexPath.row;
}