iOS UiTableVie滑动到底部
2020-05-11 本文已影响0人
MiniCoder
//使用滑动到最后一个item的方法,最好在viewdidApper中调用
let index = IndexPath.init(row: self.data - 1 , section: 0)
self.scrollToRow(at: index, at: .none, animated: false)
//使用滑动到最后一个item的方法,最好在viewdidApper中调用
let index = IndexPath.init(row: self.data - 1 , section: 0)
self.scrollToRow(at: index, at: .none, animated: false)