2

I need to remove the separator lines in the ButtonRow. I only want to remove the separator for this row so, I can't use "tableView.separatorStyle = UITableViewCellSeparatorStyle.none".

I need to remove the lines for the Forgot Password row.

Screenshot:

Screenshot

form +++ Section("")

        <<< ButtonRow("Forgot Password") { (row: ButtonRow) in
            row.title = row.tag
            }
            .onCellSelection { _, _ in
                let vc = ForgotPasswordVC()
                self.navigationController?.pushViewController(vc, animated: true)

            }.cellSetup { cell, row in
                cell.backgroundColor = UIColor(white: 1, alpha: 0.0)

    }
vacawama
  • 141,339
  • 29
  • 256
  • 279
J. Andy
  • 37
  • 3
  • try this https://stackoverflow.com/questions/31170466/remove-separator-line-for-only-one-cell – TalBenAsulo Aug 25 '19 at 13:23
  • I tried but it doesn't work as currently I have using grouped cell and I need to hide the first and the last separator within the grouped cell. – J. Andy Aug 25 '19 at 15:33
  • I added solution to this https://stackoverflow.com/a/66432103/2132379 – Giang Mar 02 '21 at 01:46

0 Answers0