uitableview total number of rows

120

func getAllRowCount()->Int{
    var rowCount = 0
    for index in 0...self.tableView.numberOfSections-1{
        rowCount += self.tableView.numberOfRows(inSection: index)
    }
    return rowCount
}

Comments

Submit
0 Comments