uitableview total number of rows

125

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