FBMediaView
@interfaceFBMediaView:UIView
The FBMediaView loads media content from a given FBNativeAd. This view takes the place of manually loading a cover image.
@interfaceFBMediaView:UIView
@property(nonatomic,weak,readwrite,nullable)id<FBMediaViewDelegate>delegate;
weakvardelegate:FBMediaViewDelegate?{getset}
@property(nonatomic,strong,readwrite)FBMediaViewVideoRenderer*_NonnullvideoRenderer;
varvideoRenderer:FBMediaViewVideoRenderer{getset}
@property(nonatomic,assign,unsafe_unretained,readonly)floatvolume;
varvolume:Float{get}
@property(nonatomic,readonly,getter=isAutoplayEnabled)BOOLautoplayEnabled;
varisAutoplayEnabled:Bool{get}
@property(nonatomic,assign,unsafe_unretained,readonly)CGFloataspectRatio;
varaspectRatio:CGFloat{get}
@property(nonatomic,assign,unsafe_unretained,readonly)FBNativeAdViewTagnativeAdViewTag;
varnativeAdViewTag:FBNativeAdViewTag{get}
-(void)applyNaturalWidth;
funcapplyNaturalWidth()
-(void)applyNaturalHeight;
funcapplyNaturalHeight()