Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UITableView separator problem

mailSubscritionTable.separatorColor = [UIColor blueColor];


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

    return 5;

}

but, i get more then separator here , i want that only 5 separator will shown.

like image 526
PJR Avatar asked Apr 22 '11 13:04

PJR


1 Answers

It's super easy:

tableView.tableFooterView = [[[UIView alloc] init] autorelease];
like image 200
Bartosz Ciechanowski Avatar answered Nov 19 '22 13:11

Bartosz Ciechanowski