NativeAdViewData

@objc(YMANativeAdViewData)
@objcMembers
public class NativeAdViewData : NSObject

This class is responsible for configuring native ad views without using a template.

  • UILabel for information about age restrictions.

    Declaration

    Swift

    public var ageLabel: UILabel?
  • UILabel for the main ad text.

    Declaration

    Swift

    public var bodyLabel: UILabel?
  • UIButton with a call to action.

    Declaration

    Swift

    public var callToActionButton: UIButton?
  • UILabel for domain data.

    Declaration

    Swift

    public var domainLabel: UILabel?
  • UIImageView for the favicon.

    Declaration

    Swift

    public var faviconImageView: UIImageView?
  • UIButton for handling reasons for ad closing.

    Declaration

    Swift

    public var feedbackButton: UIButton?
  • UIImageView for the icon.

    Declaration

    Swift

    public var iconImageView: UIImageView?
  • YMANativeMediaView for the ad’s media.

    Declaration

    Swift

    public var mediaView: YMANativeMediaView?
  • UILabel for data on the price of the advertised app.

    Declaration

    Swift

    public var priceLabel: UILabel?
  • UIView that implements the Rating protocol for data on the app rating.

    Declaration

    Swift

    public var ratingView: (UIView & Rating)?
  • UILabel for data on the number of app reviews.

    Declaration

    Swift

    public var reviewCountLabel: UILabel?
  • UILabel for information about the ad network.

    Declaration

    Swift

    public var sponsoredLabel: UILabel?
  • UILabel for the ad title.

    Declaration

    Swift

    public var titleLabel: UILabel?
  • UILabel for the warning.

    Declaration

    Swift

    public var warningLabel: UILabel?