Eliminate extra seperators in UITableView iOS swift || Remove the seperators in tableView iOS

Solution:

You can set the view to tableView footer view to eleminate the extra seperators appear in the tableView.

Use the below code

Swift:


    override func viewDidLoad() {
        super.viewDidLoad()
        self.tableView.tableFooterView = UIView()
}

Objective C:


        self.tableView.tableFooterView = [UIView new];

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

store cgpoint in userdefaults iOS swift