Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide empty UITableViewCells showing in UITableView with plain style - IOS?

UItableView is showing with empty rows like below...

enter image description here

how to hide it without changing the tableview style. Do I need to resize the table View, if so how can I know the height exactly to set.

like image 499
Newbee Avatar asked Feb 16 '23 16:02

Newbee


1 Answers

self.tableView.tableFooterView = [[UIView alloc] init];
like image 161
Sergey Zhukov Avatar answered Apr 27 '23 18:04

Sergey Zhukov