UITableView delimiter issue

mailSubscritionTable.separatorColor = [UIColor blueColor];


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {

    return 5;

}

but I get more separator here, I want only 5 separators to be displayed.

+5
source share
1 answer

It is very simple:

tableView.tableFooterView = [[[UIView alloc] init] autorelease];
+7
source

All Articles