Scroll to top of table view in iOS 11

I have a table view and I want it to always be scrolled to the top when it first appears. The following code used to work fine but it no longer does anything in iOS 11. How do you scroll to the top of a table view in iOS 11?

- (void)viewWillAppear:(BOOL)animated
    [self.tableView scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:NO];