I have a tableview controller which consists of a button with an image on it and 2 labels. When I change the tableview to edit mode, I want my button to perform an action i.e such that when I click on my button in edit mode it should change its image. I have an editcontroller class when the didselectrow of first table is clicked it opens a new class i.e editcontroller.I have a tableview controller which consists of