FBNativeAdViewAttributes
有此級別的更新版本。前往查看 最新版本。

Describes the look and feel of a native ad view.

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

Background color of the native ad view.

@property (nonatomic, copy) UIColor *backgroundColor;
宣告於: FBNativeAdViewAttributes.h
buttonBorderColor

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

@property (nonatomic, copy) UIColor *buttonBorderColor;
宣告於: FBNativeAdViewAttributes.h
buttonColor

Background color of the call to action button.

@property (nonatomic, copy) UIColor *buttonColor;
宣告於: FBNativeAdViewAttributes.h
buttonTitleColor

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

@property (nonatomic, copy) UIColor *buttonTitleColor;
宣告於: FBNativeAdViewAttributes.h
buttonTitleFont

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

@property (nonatomic, copy) UIFont *buttonTitleFont;
宣告於: FBNativeAdViewAttributes.h
descriptionColor

Color of the description label.

@property (nonatomic, copy) UIColor *descriptionColor;
宣告於: FBNativeAdViewAttributes.h
descriptionFont

Font of the description label.

@property (nonatomic, copy) UIFont *descriptionFont;
宣告於: FBNativeAdViewAttributes.h
titleColor

Color of the title label.

@property (nonatomic, copy) UIColor *titleColor;
宣告於: FBNativeAdViewAttributes.h
titleFont

Font of the title label.

@property (nonatomic, copy) UIFont *titleFont;
宣告於: FBNativeAdViewAttributes.h
類別方式
defaultAttributesForType:

Returns default attributes for a given type.

參數說明
type

The type for this layout.

+ (instancetype) defaultAttributesForType:(FBNativeAdViewType)type;
宣告於: FBNativeAdViewAttributes.h