NativeAdViewData
@objc(YMANativeAdViewData)
@objcMembers
@MainActor
public final class NativeAdViewData : NSObject
This class is responsible for configuring native ad views without using a template.
-
UILabelfor information about age restrictions.Declaration
Swift
@MainActor public var ageLabel: UILabel? -
UILabelfor the main ad text.Declaration
Swift
@MainActor public var bodyLabel: UILabel? -
UIButtonwith a call to action.Declaration
Swift
@MainActor public var callToActionButton: UIButton? -
UILabelfor domain data.Declaration
Swift
@MainActor public var domainLabel: UILabel? -
UIImageViewfor the favicon.Declaration
Swift
@MainActor public var faviconImageView: UIImageView? -
UIButtonfor handling reasons for ad closing.Declaration
Swift
@MainActor public var feedbackButton: UIButton? -
UIImageViewfor the icon.Declaration
Swift
@MainActor public var iconImageView: UIImageView? -
YMANativeMediaViewfor the ad’s media.Declaration
Swift
@MainActor public var mediaView: NativeMediaView? -
UILabelfor data on the price of the advertised app.Declaration
Swift
@MainActor public var priceLabel: UILabel? -
UILabelfor data on the number of app reviews.Declaration
Swift
@MainActor public var reviewCountLabel: UILabel? -
UILabelfor information about the ad network.Declaration
Swift
@MainActor public var sponsoredLabel: UILabel? -
UILabelfor the ad title.Declaration
Swift
@MainActor public var titleLabel: UILabel? -
UILabelfor the warning.Declaration
Swift
@MainActor public var warningLabel: UILabel?