Organizational Research By

Surprising Reserch Topic

how to remove empty cells in uitableview


how to remove empty cells in uitableview  using -'ios,objective-c,uitableview'

i am trying to display a simple UITableView with some data. I wish to set the static height of the UITableView so that it doesn't displays empty cells at the end of the table. how do I do that?

code:

- (NSInteger)tableView:(UITableView *)tableView
             numberOfRowsInSection:(NSInteger)section {
    NSLog(@"%d", [arr count]);
    return [arr count];
}

    
asked Oct 13, 2015 by sameer rathore
0 votes
3 views



Related Hot Questions



Government Jobs Opening


...