diff --git a/DataSource/DPTableViewDataSource.m b/DataSource/DPTableViewDataSource.m index deeb93f..5e82a88 100644 --- a/DataSource/DPTableViewDataSource.m +++ b/DataSource/DPTableViewDataSource.m @@ -40,6 +40,7 @@ - (void)setListController:(id)listController { - (void)setNoDataView:(UIView *)noDataView { if (_noDataView != noDataView) { [_noDataView removeFromSuperview]; + _tableView.backgroundView = nil; _noDataView = noDataView; [self invalidateNoDataView]; }