“UitableView Roll para o fundo Swift” Respostas de código

swift scrollView roll para baixo

let bottomOffset = CGPoint(x: 0, y: scrollView.contentSize.height - scrollView.bounds.size.height)
//OR
//let bottomOffset = CGPoint(x: 0, y: scrollView.frame.maxY)
scrollView.setContentOffset(bottomOffset, animated: true)
Aris G

UitableView Roll para o fundo Swift

let indexPath = IndexPath(item: noOfRows, section: 0)
yourTableView.scrollToRow(at: indexPath, at: UITableView.ScrollPosition.bottom, animated: true)
Frail Flamingo

Respostas semelhantes a “UitableView Roll para o fundo Swift”

Perguntas semelhantes a “UitableView Roll para o fundo Swift”

Mais respostas relacionadas para “UitableView Roll para o fundo Swift” em Swift

Procure respostas de código populares por idioma

Procurar outros idiomas de código