Answers for "get middle index of center cell in table view 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 index of center cell in table view swift"

Code answers related to "Swift"

Browse Popular Code Answers by Language