如何更改 Eureka 表单单元格的边框颜色?我设法使密码字段的背景颜色透明,但想对边框做同样的事情。
这是我的单元格代码:
<<< ButtonRow() { (row: ButtonRow) -> Void in
row.title = "Forgot your password?"
}.onCellSelection({ (cell, row) in
self.performSegueWithIdentifier("resetPassword", sender: nil)
}).cellSetup { cell, row in
cell.backgroundColor = UIColor(white: 1, alpha: 0.0)
// How can I get this to work?
cell.contentView.layer.borderColor = UIColor(white: 1, alpha: 0.0).CGColor
}
最佳答案
你要找的是我认为的tableView分隔符样式。
self.tableView.separatorStyle = .none
关于ios - Swift:如何更改 Eureka 表单单元格的边框颜色?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37749129/