App启动展示广告效果

- (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);

}原文地址

最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容