YMANativeImageAdView Class Reference

Inherits from UIView
Declared in YMANativeImageAdView.h

Overview

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

  1. Properties
    1. feedbackButton
    2. imageView
    3. mediaView
    4. ad

Properties

feedbackButton

UIButton for handling reasons for ad closing.

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

imageView

UIImageView for the ad’s main image.

@property (nonatomic, weak) IBOutlet UIImageView *imageView

Discussion

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

mediaView

YMANativeMediaView for the media content.

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

The ad object (YMANativeImageAd).

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

Generated by appledoc 2.2.1 (build 1334).