LQLaunchImageInterstitials 是一个在程序启动时植入广告目前只是展示图片

网友投稿 518 2022-10-29

LQLaunchImageInterstitials 是一个在程序启动时植入广告目前只是展示图片

LQLaunchImageInterstitials 是一个在程序启动时植入广告目前只是展示图片

LQLaunchImageInterstitials

###LQLaunchImageInterstitials 是一个在程序启动时植入广告

使用方法: 在appdelegate中

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { NSURL *url = [NSURL URLWithString:@"https://ubmcmm.baidustatic.com/media/v1/0f000ZtVORoUP-ucKBdlJ6.jpg"]; [[LQLaunchImageInterstitials sharImageInterstitials]imageinterstitialsWithImageURL:url andWindow:self.window andTime:10 andType:LQTopLogoType andBlock:^{ [self changerootViewControllerWithType:nil]; } andClickImageBlock:^{ [self changeRootViewControllerWithType:@"clcikImage"]; }] ; return YES;}

- (void)changeRootViewControllerWithType:(NSString*)type{ ViewController *vc = [[ViewController alloc]init]; vc.title = type; UINavigationController *nav = [[UINavigationController alloc]initWithRootViewController:vc]; self.window.rootViewController = nav;}

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:百万英雄/冲顶大会/芝士超人,windows执行程序 IOS版本 苹果
下一篇:springboot pom文件加入监控依赖后没有起作用的解决
相关文章

 发表评论

暂时没有评论,来抢沙发吧~