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
4 views



Related Hot Questions

5 Answers

0 votes
NULL
answered Oct 13, 2015 by rajeevr642
0 votes
NULL
answered Oct 13, 2015 by loknath.ganji
0 votes
NULL
answered Oct 13, 2015 by patilkiran.101
0 votes
NULL
answered Oct 13, 2015 by badhwar.rohit
0 votes
NULL
answered Oct 13, 2015 by kinnari

...