FBAdStarRatingView Class Reference
Inherits from | UIView |
Declared in | FBNativeAd.h |
Overview
@class FBAdStarRatingView
@abstract Helper view that draws a star rating based off a native ad.
Properties
primaryColor
The color drawn for filled-in stars. Defaults to yellow.
@property (strong, nonatomic, nonnull) UIColor *primaryColor
Declared In
FBNativeAd.h
Instance Methods
initWithFrame:withStarRating:
@method
- (nonnull instancetype)initWithFrame:(CGRect)frame withStarRating:(struct FBAdStarRating)starRating
Parameters
- frame
Frame of this view.
- starRating
Star rating from a native ad.
Discussion
@abstract Initializes a star rating view with a given frame and star rating.
Declared In
FBNativeAd.h