Swiftui, Swift, iOS App Development, iOS Development, iOS.
scrollTo method of ScrollViewReader self.tableView?.scrollToRow(at: IndexPath(item: 0, section: 0), at: .middle, animated: true) }.buttonStyle(.bordered) Button("Bottom") { self.tableView?.scrollToRow(at: IndexPath(item: items.count - 1, section: 0), at: .bottom, animated: true)