I have declared a Button in my MainViewController so when a user logs in it needs to show a button using self.mybutton.hidden = FALSE;
but on my ProfileViewController I have the logout button which needs to hide the button again using self.mybutton.hidden = TRUE;
Which is the best way to communicate between views?