Merge branch 'charlesmchen/fixTableViewLayout'

pull/1/head
Matthew Chen 8 years ago
commit f61233763c

@ -398,7 +398,9 @@ NSString * const kOWSTableCellIdentifier = @"kOWSTableCellIdentifier";
#pragma clang diagnostic pop
}
[self.view addSubview:self.tableView];
[self.tableView autoPinToSuperviewEdges];
[self.tableView autoPinWidthToSuperview];
[self.tableView autoPinToTopLayoutGuideOfViewController:self withInset:0];
[self.tableView autoPinToBottomLayoutGuideOfViewController:self withInset:0];
[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:kOWSTableCellIdentifier];
}

Loading…
Cancel
Save