Answers for "swift scroll cell in center"

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 "swift scroll cell in center"

Code answers related to "Swift"

Browse Popular Code Answers by Language