diff --git a/autolayout/selfsizing_uitableviewcell.md b/autolayout/selfsizing_uitableviewcell.md index ad7b7f8..aca58ff 100644 --- a/autolayout/selfsizing_uitableviewcell.md +++ b/autolayout/selfsizing_uitableviewcell.md @@ -14,7 +14,7 @@ self.tableView.rowHeight = UITableViewAutomaticDimension; 最後再 `viewDidAppear:`中加入 `tableView.reloadData()` ``` objc -- (void)viewDidAppear(BOOL: animated) { +- (void)viewDidAppear:(BOOL)animated { [self.tableView reloadData]; } ```