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

Helper view that draws a star rating based off a native ad.

Superclass:UIView
Declared in:FBAdStarRatingView.h
Eigenschaften
FB_DEPRECATED

The color drawn for filled-in stars. Defaults to yellow.

@property (strong, nonatomic, nonnull) UIColor *primaryColor FB_DEPRECATED;
Deklariert in: FBAdStarRatingView.h
FB_DEPRECATED

The color drawn for empty stars. Defaults to gray.

@property (strong, nonatomic, nonnull) UIColor *secondaryColor FB_DEPRECATED;
Deklariert in: FBAdStarRatingView.h
rating

The current rating from an FBNativeAd. When set, updates the view.

@property (nonatomic, assign) struct FBAdStarRating rating FB_DEPRECATED;
Deklariert in: FBAdStarRatingView.h
Instance-Methoden
initWithFrame:withStarRating:

Initializes a star rating view with a given frame and star rating.

ParameterBeschreibung
frame

Frame of this view.

starRating

Star rating from a native ad.

- (instancetype)
initWithFrame: (CGRect)frame
withStarRating: (struct FBAdStarRating)starRating
NS_DESIGNATED_INITIALIZER
FB_DEPRECATED;
Deklariert in: FBAdStarRatingView.h