     var isLoaded = false
     var adViewConstraints = [NSLayoutConstraint]()
     var adViewHeightConstraint: NSLayoutConstraint?
+    var adRatio: CGFloat = 16/9.0
     
     public init(webView: WKWebView, selector: String, adView: TFACustomAdView, adSettings: TeadsAdSettings? = nil) {
         self.webViewHelper = WebViewHelper(webView: webView, selector: selector)

    
    public func adDidCloseFullscreen(_ ad: TFACustomAdView) {
        //update the slot in case there was a rotation or a layout change to be sure that the ad has the right layout
        self.webViewHelper.updateSlot(adRatio: ad.adRatio)
    }
}

    }
    
    @objc func rotationDetected() {
        //update the slot when the rotation occurs
        self.webViewHelper.updateSlot(adRatio: self.adRatio)
    }
    
    // MARK: WebViewHelperDelegate
