iOS11中tableview的wrapperview消失了,ios11以前Cell的superView爲wrapperview,以後爲tableView。Cell的子控件超出Cell的時候,子控件被遮擋,使用[Cell.superView bringSubviewToFront:cell]來切換層級。ios
- (void)tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{app
[cell.superview bringSubviewToFront:cell];io
}table