YMANativeContentAdView Class Reference

Inherits from UIView
Declared in YMANativeContentAdView.h

Overview

This class is responsible for creating the layout of a Content ad without using a template.

  1. Properties
    1. ageLabel
    2. bodyLabel
    3. callToActionButton
    4. feedbackButton
    5. domainLabel
    6. iconImageView
    7. imageView
    8. mediaView
    9. sponsoredLabel
    10. titleLabel
    11. warningLabel
    12. ad

Properties

ageLabel

UILabel for information about age restrictions.

@property (nonatomic, weak) IBOutlet UILabel *ageLabel

bodyLabel

UILabel for the main ad text.

@property (nonatomic, weak) IBOutlet UILabel *bodyLabel

callToActionButton

UIButton for handling ad actions.

@property (nonatomic, weak, nullable) IBOutlet UIButton *callToActionButton

feedbackButton

UIButton for handling reasons for ad closing.

@property (nonatomic, weak, nullable) IBOutlet UIButton *feedbackButton

domainLabel

UILabel for domain data.

@property (nonatomic, weak, nullable) IBOutlet UILabel *domainLabel

iconImageView

UIImageView for the icon.

@property (nonatomic, weak, nullable) IBOutlet UIImageView *iconImageView

imageView

UIImageView for the ad’s main image.

@property (nonatomic, weak) IBOutlet UIImageView *imageView

Discussion

Note: This property has been deprecated. Use the [YMANativeContentAdView mediaView] property.

mediaView

YMANativeMediaView for the media content.

@property (nonatomic, weak, nullable) IBOutlet YMANativeMediaView *mediaView

sponsoredLabel

UILabel for data on the ad network.

@property (nonatomic, weak, nullable) IBOutlet UILabel *sponsoredLabel

titleLabel

UILabel for the ad title.

@property (nonatomic, weak) IBOutlet UILabel *titleLabel

warningLabel

UILabel for the warning.

@property (nonatomic, weak) IBOutlet UILabel *warningLabel

The ad object (YMANativeContentAd).

@property (nonatomic, strong, readonly, nullable) id<YMANativeContentAd> ad

Generated by appledoc 2.2.1 (build 1334).