FBNativeAdViewAttributes
Es ist eine neuere Version dieser Klasse verfügbar. Sieh sie dir an mit der aktuellsten Version.

Describes the look and feel of a native ad view.

Conforms to:NSCopying
Inherits from:NSObject
Declared in:FBNativeAdViewAttributes.h
Eigenschaften
backgroundColor

Background color of the native ad view.

@property (nonatomic, copy) UIColor *backgroundColor;
Deklariert in: FBNativeAdViewAttributes.h
buttonBorderColor

Border color of the call to action button. If nil, no border is shown.

@property (nonatomic, copy) UIColor *buttonBorderColor;
Deklariert in: FBNativeAdViewAttributes.h
buttonColor

Background color of the call to action button.

@property (nonatomic, copy) UIColor *buttonColor;
Deklariert in: FBNativeAdViewAttributes.h
buttonTitleColor

Color of the call to action button's title label.

@property (nonatomic, copy) UIColor *buttonTitleColor;
Deklariert in: FBNativeAdViewAttributes.h
buttonTitleFont

Font of the call to action button's title label.

@property (nonatomic, copy) UIFont *buttonTitleFont;
Deklariert in: FBNativeAdViewAttributes.h
descriptionColor

Color of the description label.

@property (nonatomic, copy) UIColor *descriptionColor;
Deklariert in: FBNativeAdViewAttributes.h
descriptionFont

Font of the description label.

@property (nonatomic, copy) UIFont *descriptionFont;
Deklariert in: FBNativeAdViewAttributes.h
titleColor

Color of the title label.

@property (nonatomic, copy) UIColor *titleColor;
Deklariert in: FBNativeAdViewAttributes.h
titleFont

Font of the title label.

@property (nonatomic, copy) UIFont *titleFont;
Deklariert in: FBNativeAdViewAttributes.h
Klassenmethoden
defaultAttributesForType:

Returns default attributes for a given type.

ParameterBeschreibung
type

The type for this layout.

+ (instancetype) defaultAttributesForType:(FBNativeAdViewType)type;
Deklariert in: FBNativeAdViewAttributes.h