Can I add a native AdMob ad in a UIView() that is a property of a UICollectionViewCell?
let adView: UIView = {
let ad = UIView()
(in here I want to show the ad.)
return ad
}()
then in override init I want to add the UIView containing the ad as a subView
override init(frame: CGRect) {
super.init(frame: frame)
addSubview(adView)
}
Is this possible? If so, how?