Created
May 19, 2015 08:06
-
-
Save ranmyfriend/8d22cf91dc73c929faca to your computer and use it in GitHub Desktop.
Hide the TableView Empty Rows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)pr_hideEmptySeparators { | |
UIView *emptyView = [[UIView alloc] initWithFrame:CGRectZero]; | |
emptyView.backgroundColor = [UIColor clearColor]; | |
[self.tableView setTableFooterView:emptyView]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment