Remove the lines below the empty tableView iOS swift and objective C
Solution:
If you want to remove the empty cell spaces below the code then use the code to remove the lines in the empty tableView
Swift 5:
override func viewDidLoad() {
super.viewDidLoad()
mytblView.tableFooterView = UIView()
}
If you want to remove the empty cell spaces below the code then use the code to remove the lines in the empty tableView
Swift 5:
override func viewDidLoad() {
super.viewDidLoad()
mytblView.tableFooterView = UIView()
}
Objective C:
- (void) viewDidLoad
{
[super viewDidLoad];
self. mytblView.tableFooterView = [UIView new];
}
Comments
Post a Comment