Skip to content

list_scrollToRow(at:at:animated:)_argokit

aisleep edited this page Dec 15, 2020 · 3 revisions

简介

将列表滚动到指定的位置

声明

func scrollToRow(at indexPath: IndexPath, at scrollPosition: UITableView.ScrollPosition, animated: Bool) -> Self

参数

indexPath

滚动到行的索引

scrollPosition

滚动方位

animated

是否是动画形式

Clone this wiki locally