FBMediaView
A more recent version of this class is available. Check out the latest version.

The FBMediaView loads media content from a given FBNativeAd. This view takes the place of manually loading a cover image.

Inherits from:UIView
Declared in:FBMediaView.h
Properties
delegate

The delegate

@property (nonatomic, weak) id<FBMediaViewDelegate> delegate;
Declared In: FBMediaView.h
Instance Methods
initWithNativeAd:

This is a method to create a media view using the given native ad.

ParameterDescription
nativeAd

The native ad to load media content from.

- (instancetype) initWithNativeAd:(FBNativeAd *)nativeAd;
Declared In: FBMediaView.h