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