I am having a hard time preventing color change on my background color for my IBAction
button when I select a row in my tableView
. The background of my button is set to green, but when I tap the table view cell, it becomes gray. I have tried to change the color through different functions (tableView didSelectRowAtIndexPath
etc..). Any ideas on how I would prevent the background of the button to change?
Thanks in advance!