[self.view setBackgroundColor:[UIColor greenColor]];
XBAdvertView * ad = [[XBAdvertView alloc]initWithFrame:[UIScreen mainScreen].bounds];
UIImage * image = [UIImage imageNamed:@"ad.jpg"];
ad.adimage = image;
[self.view addSubview:ad];
四、总结
以上就是iOS实现动态开屏广告的全部内容了,希望对大家学习或开发iOS能有所帮助,如果有疑问大家可以留言交流。
注:相关教程知识阅读请移步到IOS开发频道。










