UITABLEVIEW with buttons on each cell
I am using this code to display buttons in table view but not getting.plz take a look

-(void) loadView{
tableview2 = [[UITableView alloc] initWithFrame:[[self view] bounds] style:UITableViewStyleGrouped];
    [tableview2 setDelegate:self];
    [tableview2 setDataSource:self];
    UIButton *btnDeco = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnDeco.frame = CGRectMake(0, 0, 280, 40);
    [btnDeco setTitle:@"Déconnecter" forState:UIControlStateNormal];
    btnDeco.backgroundColor = [UIColor clearColor];
    [btnDeco setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
    [btnDeco addTarget:self action:@selector(deconnect:) forControlEvents:UIControlEventTouchUpInside];
      /create a UIButton (Change pseudo button)
    UIButton *btnChange = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnChange.frame = CGRectMake(0, 50, 280, 40);
    [btnChange setTitle:@"Changer Pseudo" forState:UIControlStateNormal];
    btnChange.backgroundColor = [UIColor clearColor];
    [btnChange setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
    [btnChange addTarget:self action:@selector(changePseudo:) forControlEvents:UIControlEventTouchUpInside];
    //create a footer view on the bottom of the tabeview
    UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(20, 0, 280, 100)];
    [footerView addSubview:btnDeco];
    [footerView addSubview:btnChange];
    tableview2.tableFooterView = footerView; 
     [[self view] addSubview:tableview2];
}

UITABLEVIEW with buttons on each cell
===

I am using this code to display buttons in table view but not getting.plz take a look

-(void) loadView{
tableview2 = [[UITableView alloc] initWithFrame:[[self view] bounds] style:UITableViewStyleGrouped];
    [tableview2 setDelegate:self];
    [tableview2 setDataSource:self];
    UIButton *btnDeco = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnDeco.frame = CGRectMake(0, 0, 280, 40);
    [btnDeco setTitle:@"Déconnecter" forState:UIControlStateNormal];
    btnDeco.backgroundColor = [UIColor clearColor];
    [btnDeco setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
    [btnDeco addTarget:self action:@selector(deconnect:) forControlEvents:UIControlEventTouchUpInside];
      /create a UIButton (Change pseudo button)
    UIButton *btnChange = [UIButton buttonWithType:UIButtonTypeRoundedRect];
    btnChange.frame = CGRectMake(0, 50, 280, 40);
    [btnChange setTitle:@"Changer Pseudo" forState:UIControlStateNormal];
    btnChange.backgroundColor = [UIColor clearColor];
    [btnChange setTitleColor:[UIColor orangeColor] forState:UIControlStateNormal];
    [btnChange addTarget:self action:@selector(changePseudo:) forControlEvents:UIControlEventTouchUpInside];
    //create a footer view on the bottom of the tabeview
    UIView *footerView = [[UIView alloc] initWithFrame:CGRectMake(20, 0, 280, 100)];
    [footerView addSubview:btnDeco];
    [footerView addSubview:btnChange];
    tableview2.tableFooterView = footerView; 
     [[self view] addSubview:tableview2];
}
