1、rectForRow方法容易导致奔溃
let row =tableView.numberOfRows(inSection:0)
ifindex<row {
letrect:CGRect=tableView.rectForRow(at:IndexPath(row:index, section:0))
}
1、rectForRow方法容易导致奔溃
let row =tableView.numberOfRows(inSection:0)
ifindex<row {
letrect:CGRect=tableView.rectForRow(at:IndexPath(row:index, section:0))
}