怎么查看当前的 Google AdMob iOS SDK 版本?
本教程将介绍如何查看当前的 Google AdMob iOS SDK 版本?的处理方法,这篇教程是从别的地方看到的,然后加了一些国外程序员的疑问与解答,希望能对你有所帮助,好了,下面开始学习吧。
问题描述
Google has Changed some Policy under which the ads displayed under SDK version 7.0 will not display ads any more, Actually i don't know which version SDK i m using.
Please help me to get out of this.
解决方案
pragma mark GADRequest implementation
- (GADRequest *)request {
GADRequest *request = [GADRequest request];
NSLog(@"Received ad successfully %@ " , [GADRequest sdkVersion] );
request.testDevices = @[
kGADSimulatorID
];
return request;
}
Implement the above code in your iOS Project
And Check Log
you will get Output something like this
afma-sdk-i-v7.27.0
好了关于怎么查看当前的 Google AdMob iOS SDK 版本?的教程就到这里就结束了,希望趣模板源码网找到的这篇技术文章能帮助到大家,更多技术教程可以在站内搜索。