AdropNativeAdView

class AdropNativeAdView : UIView

Native ad view class responsible for displaying native ad to the user.


Public functions

class AdropNativeAdView : UIView {
    func setNativeAd(_ ad: AdropAds.AdropNativeAd)
    func setIconView(_ view: UIView, onClick: ((AdropAds.AdropNativeAd?, UIView) -> Void)? = nil)
    func setAdvertiserView(_ view: UIView, onClick: ((AdropAds.AdropNativeAd?, UIView) -> Void)? = nil)
    func setHeadLineView(_ view: UIView, onClick: ((AdropAds.AdropNativeAd?, UIView) -> Void)? = nil)
    func setMediaView(_ view: UIView)
    func setBodyView(_ view: UIView)
    func setCallToActionView(_ view: UIView, onClick: ((AdropAds.AdropNativeAd?, UIView) -> Void)? = nil)
}

Last updated