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