MutableNativeTemplateAppearance
@objc(YMAMutableNativeTemplateAppearance)
@objcMembers
public class MutableNativeTemplateAppearance : NativeTemplateAppearance
Undocumented
-
Width of the border.
Declaration
Swift
override public var borderWidth: CGFloat { get set }
-
Color of the border.
Declaration
Swift
override public var borderColor: UIColor { get set }
-
Background color.
Declaration
Swift
override public var backgroundColor: UIColor { get set }
-
Horizontal (left and right) margins between the content and the edges of the ad.
Remark
Measured in logical pixels.Declaration
Swift
override public var contentPadding: YMAHorizontalOffset { get set }
-
The horizontal margins around the image, relative to the ad content.
Remark
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.Warning
It doesn’t apply to large images that are placed under the main ad text and cover the entire width of the ad.Declaration
Swift
override public var imageMargins: YMAHorizontalOffset { get set }
-
Appearance settings for the text with age restrictions.
Declaration
Swift
override public var ageAppearance: LabelAppearance? { get set }
-
Appearance settings for the main ad text.
Declaration
Swift
override public var bodyAppearance: LabelAppearance? { get set }
-
Appearance settings for a call-to-action button (for example, the Install button).
Declaration
Swift
override public var callToActionAppearance: ButtonAppearance? { get set }
-
Appearance settings for the domain text.
Declaration
Swift
override public var domainAppearance: LabelAppearance? { get set }
-
Appearance settings for the favicon.
Declaration
Swift
override public var faviconAppearance: ImageAppearance? { get set }
-
Appearance settings for the feedback.
Declaration
Swift
override public var feedbackAppearance: ImageAppearance? { get set }
-
Appearance settings for the image.
Warning
It doesn’t apply to large images that are placed under the main ad text and cover the entire width of the ad.Declaration
Swift
override public var imageAppearance: ImageAppearance? { get set }
-
Appearance settings for the rating.
Declaration
Swift
override public var ratingAppearance: RatingAppearance? { get set }
-
Appearance settings for the ad network text.
Declaration
Swift
override public var sponsoredAppearance: LabelAppearance? { get set }
-
Appearance settings for the ad title text.
Declaration
Swift
override public var titleAppearance: LabelAppearance? { get set }
-
Appearance settings for the number of app reviews.
Declaration
Swift
override public var reviewCountAppearance: LabelAppearance? { get set }
-
Appearance settings for the warning text.
Declaration
Swift
override public var warningAppearance: LabelAppearance? { get set }
-
Corresponding immutable representation of current native template appearance.
Declaration
Swift
public var appearance: NativeTemplateAppearance { get }
-
Undocumented
Declaration
Swift
public convenience init()
-
Undocumented
Declaration
Swift
override public func copy(with zone: NSZone? = nil) -> Any