In my calendar app, I want my UITableView to scroll to a specific section based on which date is tapped. Current implementation is below:
- (void)calendarDidDate
Swift 3.0
DispatchQueue.main.async { let indexPath = IndexPath(item: 'item', section: 'section') self.tableView.scrollToRow(at: indexPath, at: .top, animated: true) }