title: How do i hide a button through the user pressing a button
body: <p>My app is a quiz app and what i am trying to do is when the user selects an incorrect answer it will either stop running the quiz app and show a button for the user to go to the beginning. Or it will hide all the buttons and labels except the button to go back to the beginning. Which ever one is easier.</p>
  
  <p>please let me know! I have tried things like <code>Button1.hidden = true/YES</code> but it doesn't hide the button</p>
  
  <p>Thanks</p>
  
  <pre><code>@IBAction func Button1Action(sender: AnyObject) {
  
      if AnswerNumber == 0 {
          PickQuestion()
          LabelEnd.text = "Goodjob buddy"
      }    
      else {
          Hide()
          LabelEnd.text = "Unlucky pal"
          Again.hidden = false
          QuestionLabel.hidden = true 
      }
  }
  </code></pre>