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

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift