Skip to content

Commit 8ae6c1d

Browse files
committed
remove deprecated setAdContainerView call
1 parent 307af14 commit 8ae6c1d

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

TeadsDemoApp/Controllers/collectionViewController/CollectionViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,6 @@ class CollectionViewController: UICollectionViewController, UICollectionViewDele
6060
allConstraints += adVerticalConstraints
6161
NSLayoutConstraint.activate(allConstraints)
6262
}
63-
self.teadsAdView?.setAdContainerView(container: cellAd)
6463
}
6564
} else {
6665
cell = collectionView.dequeueReusableCell(withReuseIdentifier: reuseIdentifier, for: indexPath)

TeadsDemoApp/Controllers/tableViewController/TableViewController.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,6 @@ class TableViewController: UITableViewController, TFAAdDelegate {
8484
allConstraints += adVerticalConstraints
8585
NSLayoutConstraint.activate(allConstraints)
8686
}
87-
self.teadsAdView?.setAdContainerView(container: cellAd!)
8887
return cellAd!
8988
} else {
9089
let cell = tableView.dequeueReusableCell(withIdentifier: self.classicCellIdentifier, for: indexPath)

TeadsDemoApp/Controllers/webViewController/webViewHelper/SyncWebViewTFInReadAdView.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ public class SyncWebViewTFInReadAdView: NSObject, WebViewHelperDelegate, TFAAdDe
3131
self.teadsAdSettings = adSettings
3232
//We use the observer to know when the rotation happen to resize the ad
3333
NotificationCenter.default.addObserver(self, selector: #selector(self.rotationDetected), name: UIDevice.orientationDidChangeNotification, object: nil)
34-
self.adView?.setAdContainerView(container: adView)
3534
}
3635

3736
deinit {

0 commit comments

Comments
 (0)