In my table view I have to scroll to the top. But I cannot guarantee that the first object is going to be section 0, row 0. May be that my table view will start from section
In Swift-3 :
self.tableView.setContentOffset(CGPoint.zero, animated: true)