 <p>You can just use the .hidden property on the button </p> <p>To hide the button, if not already hidden</p> <pre><code>if(!yourButton.hidden) //Button is not hidden { //hide button yourButton.hidden = YES; //do other magic here if required } </code></pre> <p>To change the visibility of your button, you can use</p> <pre><code>yourButton.hidden = YES; //Set button hidden, (YES or NO, NO is by default) </code></pre>