I make one tableview in which I add button type cell using custom cell. Looks good but when there is less cell in tableview at that time separator looks very bad. In design so there is any solution than tell me. I try to remove separator from design but it does not work.
- (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];
}