YMAMutableNativeTemplateAppearance
Objective-C
@interface YMAMutableNativeTemplateAppearance : YMANativeTemplateAppearance
Swift
class YMAMutableNativeTemplateAppearance : YMANativeTemplateAppearance
Class with editable settings for the standard button design.
- Properties
- borderWidth
- borderColor
- backgroundColor
- contentPadding
- imageMargins
- ageAppearance
- bodyAppearance
- callToActionAppearance
- domainAppearance
- faviconAppearance
- feedbackAppearance
- imageAppearance
- ratingAppearance
- sponsoredAppearance
- titleAppearance
- reviewCountAppearance
- warningAppearance
Width of the border.
Declaration
Objective-C
@property (nonatomic) CGFloat borderWidth;
Swift
var borderWidth: CGFloat { get set }
Color of the border.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull borderColor;
Swift
var borderColor: UIColor { get set }
Background color.
Declaration
Objective-C
@property (nonatomic, strong) UIColor *_Nonnull backgroundColor;
Swift
var backgroundColor: UIColor { get set }
Horizontal (left and right) margins between the content and the edges of the ad. Measured in logical pixels.
Declaration
Objective-C
@property (nonatomic) YMAHorizontalOffset contentPadding;
Swift
var contentPadding: YMAHorizontalOffset { get set }
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.
Declaration
Objective-C
@property (nonatomic) YMAHorizontalOffset imageMargins;
Swift
var imageMargins: YMAHorizontalOffset { get set }
Appearance settings for the text with age restrictions (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *ageAppearance;
Swift
@NSCopying var ageAppearance: YMALabelAppearance? { get set }
Appearance settings for the main ad text (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *bodyAppearance;
Swift
@NSCopying var bodyAppearance: YMALabelAppearance? { get set }
Appearance settings for a call-to-action button, such as the Install button (YMAButtonAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMAButtonAppearance *callToActionAppearance;
Swift
@NSCopying var callToActionAppearance: YMAButtonAppearance? { get set }
Appearance settings for the domain text (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *domainAppearance;
Swift
@NSCopying var domainAppearance: YMALabelAppearance? { get set }
Appearance settings for the favicon (YMAImageAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMAImageAppearance *faviconAppearance;
Swift
@NSCopying var faviconAppearance: YMAImageAppearance? { get set }
Appearance settings for the feedback menu icon (YMAImageAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMAImageAppearance *feedbackAppearance;
Swift
@NSCopying var feedbackAppearance: YMAImageAppearance? { get set }
Appearance settings for the image (YMAImageAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMAImageAppearance *imageAppearance;
Swift
@NSCopying var imageAppearance: YMAImageAppearance? { get set }
Appearance settings for the rating (YMARatingAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMARatingAppearance *ratingAppearance;
Swift
@NSCopying var ratingAppearance: YMARatingAppearance? { get set }
Appearance settings for the ad network text (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *sponsoredAppearance;
Swift
@NSCopying var sponsoredAppearance: YMALabelAppearance? { get set }
Appearance settings for the ad title text (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *titleAppearance;
Swift
@NSCopying var titleAppearance: YMALabelAppearance? { get set }
Appearance settings for the number of app reviews (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *reviewCountAppearance;
Swift
@NSCopying var reviewCountAppearance: YMALabelAppearance? { get set }
Appearance settings for the warning text (YMALabelAppearance
).
Declaration
Objective-C
@property (nonatomic, copy, nullable) YMALabelAppearance *warningAppearance;
Swift
@NSCopying var warningAppearance: YMALabelAppearance? { get set }