how to display a table with zero rows in UITableView
iphone, objective-c, uitableview
Solution
If you provide a view to the footer then the separators between the empty rows will disappear.
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 1, 1)];
myTableView.tableFooterView = view;
Problem
I am loading a content into UITableView dynamically. If there is data the table needs to display the data. If there is no data the table should display a plain page. But in my application the table displays the plain page with two separator lines. i need to remove this separator line and display a plain white page. Please Suggest? Any help would be appreciated!