YMAMutableNativeTemplateAppearance Class Reference

Inherits from YMANativeTemplateAppearance : NSObject
Declared in YMANativeTemplateAppearance.h

Overview

Class with editable settings for the standard button design.

  1. Properties
    1. borderWidth
    2. borderColor
    3. backgroundColor
    4. contentPadding
    5. imageMargins
    6. ageAppearance
    7. bodyAppearance
    8. callToActionAppearance
    9. domainAppearance
    10. faviconAppearance
    11. imageAppearance
    12. ratingAppearance
    13. sponsoredAppearance
    14. titleAppearance
    15. reviewCountAppearance
    16. warningAppearance

Properties

borderWidth

Width of the border.

@property (nonatomic, assign) CGFloat borderWidth

borderColor

Color of the border.

@property (nonatomic, strong) UIColor *borderColor

backgroundColor

Background color.

@property (nonatomic, strong) UIColor *backgroundColor

contentPadding

Horizontal (left and right) margins between the content and the edges of the ad. Measured in logical pixels.

@property (nonatomic, assign) YMAHorizontalOffset contentPadding

imageMargins

The horizontal margins around the image, relative to the ad content. The left margin is relative to the left edge of the content. The right margin is the gap between the right edge of the image and the left edge of the text.

@property (nonatomic, assign) YMAHorizontalOffset imageMargins

Discussion

Note: It doesn’t apply to large images that are placed under the main ad text and cover the entire width of the ad.

ageAppearance

Appearance settings for the text with age restrictions (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *ageAppearance

bodyAppearance

Appearance settings for the main ad text (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *bodyAppearance

callToActionAppearance

Appearance settings for a call-to-action button, such as the Install button (YMAButtonAppearance).

@property (nonatomic, copy, nullable) YMAButtonAppearance *callToActionAppearance

domainAppearance

Appearance settings for the domain text (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *domainAppearance

faviconAppearance

Appearance settings for the favicon (YMAImageAppearance).

@property (nonatomic, copy, nullable) YMAImageAppearance *faviconAppearance

imageAppearance

Appearance settings for the image (YMAImageAppearance).

@property (nonatomic, copy, nullable) YMAImageAppearance *imageAppearance

Discussion

Note: It doesn’t apply to large images that are placed under the main ad text and cover the entire width of the ad.

ratingAppearance

Appearance settings for the rating (YMARatingAppearance).

@property (nonatomic, copy, nullable) YMARatingAppearance *ratingAppearance

sponsoredAppearance

Appearance settings for the ad network text (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *sponsoredAppearance

titleAppearance

Appearance settings for the ad title text (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *titleAppearance

reviewCountAppearance

Appearance settings for the number of app reviews (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *reviewCountAppearance

warningAppearance

Appearance settings for the warning text (YMALabelAppearance).

@property (nonatomic, copy, nullable) YMALabelAppearance *warningAppearance

Generated by appledoc 2.2.1 (build 1334).