I am using Revmob for showing add banner using below code.
[RevMobAds startSessionWithAppID:@"My Application id"];
[RevMobAds session].testingMode = RevMobAdsTestingModeWithAds;
[[RevMobAds session] showBanner];
and it's showing test banner perfectly at the bottom.
Now my question is i want to set this banner at the top of my application.
so how can i set this banner frame ?
I have tried to use RevMobBannerView
My code is
RevMobBannerView *banner = [[RevMobBannerView alloc] initWithFrame:CGRectMake(0, 100, 320, 50)];
[banner setBackgroundColor:[UIColor yellowColor]]; [banner loadAd]; [self.window addSubview:banner];
but it's not working...it's not showing anything into screen.
any help will be apriciated...
Thanks !