2017-09-20 5 views

답변

1

당신은 이런 식으로 작업을 수행 할 수 있습니다

override func viewDidAppear(_ animated: Bool) { 
    super.viewDidAppear(animated) 

    let indexPath = IndexPath(row: 5, section: 0) 
    self.tableView.scrollToRow(at: indexPath, at: .top, animated: true) 
} 

rowsection가 올바른지 확인하십시오.