只需要设置 cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0) cell.layoutMargins = UIEdgeInsetsMake(0, 0, 0, 0)