1

我用来在运行时FBNativeAdTableViewCellProvider进行管理。用于向UITableViewCell.FBNativeAdManagerFBNativeAdTableViewCellProvider

UITableView滚动显示任何视频广告时,都会出现很多抖动/滞后现象。

我既没有办法使用重用标识符来避免单元格的多个实例,也没有办法停止广告的自动播放。

我曾尝试使用自定义单元格来绘制视图,FBMediaView但这也会导致滞后并且autoplayEnabled属性似乎也不起作用。

Facebook 的某个人真的需要看看它。请让我知道是否有人成功实施了相同的方法。

这是我正在使用的一段代码:

self.fbNativeAdCellProvider= [[FBNativeAdTableViewCellProvider alloc] initWithManager:self.fbNativeAdsManager forType:FBNativeAdViewTypeGenericHeight300];

在 UITableViewDataSource 方法中:

return [self.fbNativeAdCellProvider tableView:tableView cellForRowAtIndexPath:indexPath];
4

0 回答 0