NativeAdView
@objcMembers
@objc(YMANativeAdView)
@MainActor
open class NativeAdView : UIView
This class is responsible for creating the layout of a native ad.
-
UILabelfor information about age restrictions.Declaration
Swift
@MainActor open var ageLabel: UILabel? { get set } -
UILabelfor the main ad text.Declaration
Swift
@MainActor open var bodyLabel: UILabel? { get set } -
UIButtonwith a call to action.Declaration
Swift
@MainActor open var callToActionButton: UIButton? { get set } -
UILabelfor domain data.Declaration
Swift
@MainActor open var domainLabel: UILabel? { get set } -
UIImageViewfor the favicon.Declaration
Swift
@MainActor open var faviconImageView: UIImageView? { get set } -
UIButtonfor handling reasons for ad closing.Declaration
Swift
@MainActor open var feedbackButton: UIButton? { get set } -
UIImageViewfor the icon.Declaration
Swift
@MainActor open var iconImageView: UIImageView? { get set } -
UILabelfor data on the price of the advertised app.Declaration
Swift
@MainActor open var priceLabel: UILabel? { get set } -
UILabelfor data on the number of app reviews.Declaration
Swift
@MainActor open var reviewCountLabel: UILabel? { get set } -
UILabelfor information about the ad network.Declaration
Swift
@MainActor open var sponsoredLabel: UILabel? { get set } -
UILabelfor the ad title.Declaration
Swift
@MainActor open var titleLabel: UILabel? { get set } -
UILabelfor the warning.Declaration
Swift
@MainActor open var warningLabel: UILabel? { get set } -
NativeMediaViewthat displays the media content of the ad.Declaration
Swift
@MainActor open var mediaView: NativeMediaView? { get set } -
The ad object.
Declaration
Swift
@MainActor public internal(set) var ad: NativeAd? { get }
-
Undocumented
Declaration
Swift
@MainActor public convenience init() -
Undocumented
Declaration
Swift
@MainActor override public init(frame: CGRect) -
Undocumented
Declaration
Swift
@MainActor public required init?(coder: NSCoder)