If the tableView has not been created by the class, do not set the autoresizingMask too.