【记录】穿山甲广告iOS版SDK接入记录_ios 集成穿山甲_sanjieshenwu1987的博客-CSDN博客
1、pod导入外部文件;
2、appDelegate文件中
3、 代码文件
class AskViewController: UIViewController,BUNativeExpressRewardedVideoAdDelegate{
增加协议代理
4、广告加载
var rewardedVideoAd : BUNativeExpressRewardedVideoAd!
var isAdPlayed:Bool = false;
func loadAdAction()
{
var model = BURewardedVideoModel.init();
model.userId = "tag123";
self.rewardedVideoAd = BUNativeExpressRewardedVid