Answers for "get middle cell of tableview swift"

0

get middle index of center cell in table view swift

let middleIndex = ((heightTableView.indexPathsForVisibleRows?.first?.row)! + (heightTableView.indexPathsForVisibleRows?.last?.row)!)/2
Posted by: Guest on June-23-2021

Code answers related to "get middle cell of tableview swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language