How can i access a button which is present in a view ,from any other view.Let me elaborate i have two view controller A and B.in view A i have a button inside table view say button1 .I want to access that button inside the table view from my other view.Please help.I tried creating an object of class A and then write [objA.tableview button1 then i set image ] but it hasnt worked .Please help. Any help will be appreciated.
Thanks,
Christy
You can try this give a tag to your button (make sure it is unique).
Let say your button has tag 45; and you have made it in your table view.
Now in another method you want to use your that button like this:-
Edited Answer:-
On that button click method
After clicking this button button background color set to red.