title: How to disable 3D Touch Link Preview
body: <p>Since iOS10 the "<strong>3D Touch link preview</strong>" has been enabled by default, but how can I disable it in my app? Documentation says it's possible by <a href="https://developer.apple.com/documentation/webkit/wkwebview/1415000-allowslinkpreview" rel="nofollow noreferrer">setting allowsLinkPreview to false</a>, but doing it separately for each use case is too much code. There must be an easier way, right?</p>
  
  <p>I thought this would do it, but I get error <strong>"Property does not override any property from its superclass"</strong>. I hope there's just a small mistake, help would be appreciated:</p>
  
  <pre class="lang-swift prettyprint-override"><code>extension WKWebView {
      override open var allowsLinkPreview: Bool {
          set {
              // no-op
          }
          get {
              return false
          }
      }
  }
  
  </code></pre>