title: Performing actions / working with gestures via Live Preview (SwiftUI)
body: <p>I have <code>CustomToggle</code> and I want to test it via <code>Live Preview</code>. The problem is that tapping on toggle via <code>Live Preview</code> does nothing, but works well when running <code>Simulator</code>.</p>
  
  <pre><code>struct CustomToggle: View {
      @Binding var isOn: Bool
  
      // ... displaying CustomToggle view
      // ... and toggling isON onTapGesture
  
  }
  </code></pre>
  
  <pre><code>struct CustomToggle_Previews: PreviewProvider {
      @State static var isOn = true
      static var previews: some View {
          CustomToggle(isOn: $isOn)
      }
  }
  </code></pre>