Hello, I am very new to Iphone development and i'm stuck. I have a table view with multiple Uiswitches set as accessory views for each cell using
[(UISwitch *)cell.accessoryView setOn:NO];
[(UISwitch *)cell.accessoryView addTarget:self action:@selector(mySelector)
forControlEvents:UIControlEventValueChanged];
I would like the to change the background color of the view once all of these switches have been set to "off". There must be a simple way.I have been working on this for a while now. Any help would be appreciated and please can you keep your answers as simple as possible as i'm no expert!