I am using Revmob Framework for displaying ad banners and it's working fine.
So now my Question is that how to know programmatically that banner is loaded or not?
Like if we are using iads then there is a method "isBannerLoaded" to check banner is loaded or not.
Actually I want to set it's frame as banner is loaded or not loaded.
So is there any method like "isBannerLoaded" in Revmob Framework?
You need to implement the revMobDelegate and use revmobAdDidReceive:
@interface MyAdClass : NSObject <RevMobAdsDelegate>
...
@implementation MyAdClass
-(void) prepare {
...
ad = [[[RevMobAds session] bannerView] retain];
ad.delegate = self;
[ad loadAd];
...
}
- (void)revmobAdDidReceive {
NSLog(@"ad received");
...
}
You can find RevMobAdsDelegate documentation at http://sdk.revmob.com/ios-api/Protocols/RevMobAdsDelegate.html