I want to code a spotlight instructions and spotlight tableview cells with correct frames. I can get frames of cells but after scrolling I can not get the new frames. It gives me old frames. I used tableView.layoutifneeded()
or cell.layoutIfNeeded()
but it does not change anything, it still give old frames.
getting frame like :
cell.frame
and scrolling with this code:
tableView.scrollToRow(at: scrollIndex, at: .bottom, animated: true)
Comments
Post a Comment