How to remove seprator in tableView?
- by AJPatel
i make one tableview in which i add button type cell using custom cell.....looks good but when their is less cell in tableview at that time seprator looks very bad...... in design so thier is any solution than tell me............
i try to remove seprator from design but it not work....
Thanks in advance..........
- (void)viewDidLoad {
self.navigationItem.title = @"My List";
self.tblView.separatorStyle = UITableViewCellSeparatorStyleNone;
[[self tableView] setRowHeight:70];
[[self tableView] setBackgroundColor:[UIColor blackColor]];
Helath_ndroidAppDelegate *appDeleg = (Helath_ndroidAppDelegate *)[[UIApplication sharedApplication] delegate];
NSMutableArray *temp1 =[[NSMutableArray alloc] init];
appDeleg.recipCategoryFromDatabase = temp1;
[temp1 release];
dataBase *objData = [[[dataBase alloc] init] autorelease];
[objData selectrecepFromDatabase];
[[self tableView] setSeparatorStyle:UITableViewCellSeparatorStyleSingleLineEtched];
[super viewDidLoad];
}