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))
}
本文标题:collectionView和TableView奔溃问题
本文链接:https://www.haomeiwen.com/subject/etgtkltx.html
网友评论