title: How to turn ARKit On/Off with a button?
body: <p>I am creating a simple function to turn ARkit on/off when pressed</p>
  
  <pre><code>func arSwitch() {
      case btnPressed arkit = false
      case btnpressed arkit = true 
  }
  </code></pre>
  
  <p>OR</p>
  
  <pre><code>@IBAction func arBtnpressed(_ sender: Any) {
  
      if arSwitch.isOn {
           sceneView.scene  = scene
      } else {
           sceneView.scene.stop()// Somehthing like this..
      }  
  }
  </code></pre>
  
  <p>Any ideas?</p>