1、rectForRow方法容易導(dǎo)致奔潰
?let?row =tableView.numberOfRows(inSection:0)
? ? ? ? ifindex<row {
? ? ? ? ? ??letrect:CGRect=tableView.rectForRow(at:IndexPath(row:index, section:0))
}
1、rectForRow方法容易導(dǎo)致奔潰
?let?row =tableView.numberOfRows(inSection:0)
? ? ? ? ifindex<row {
? ? ? ? ? ??letrect:CGRect=tableView.rectForRow(at:IndexPath(row:index, section:0))
}