I'm editing a table in iOS Swift 2 using UITableViewRowAction. If they select the action after the action button pops up, I want the current background of the whole cell (not the button popup) to change color. I try accessing it using dequeueReusableCellWithIdentifier but nothing is happening.
let share = UITableViewRowAction(style: .Normal, title: "Showed Up?") { (action, indexPath) in
let cell = tableView.dequeueReusableCellWithIdentifier("secondtableCell", forIndexPath: indexPath)
cell.backgroundColor = UIColor.redColor()
...the code continues to close later of course. Everything works as expected besides the color change.