美文网首页
App启动展示广告效果

App启动展示广告效果

作者: 探路者1202 | 来源:发表于2017-04-07 10:58 被阅读0次

- (BOOL)应用程序:(UIApplication *)应用程序didFinishLaunchingWithOptions :( NSDictionary *)launchOptions {

//在应用程序启动后覆盖自定义点。

[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showAdDetail :) name:BBLaunchAdDetailDisplayNotification object:nil];

NSString * path = @“http://mg.soupingguo.com/bizhi/big/10/258/043/10258043.jpg”;

[BBLaunchAdMonitor showAdAtPath:path

onView:self.window.rootViewController.view

时间间隔:5。

detail参数:@ {@“carId”:@(12345),@“name”:@“奥迪 - 品质生活”}];

返回YES;

}

- (void)showAdDetail:(NSNotification *)noti

{

NSLog(@“detail parameters:%@”,noti.object);

}原文地址

相关文章

网友评论

      本文标题:App启动展示广告效果

      本文链接:https://www.haomeiwen.com/subject/xxxhattx.html