0

I have to implement AdWhirl in my app. It works fine - I'm getting ads from AdMob and iAd now.

There is no ad coming from AdMod and iAd. I am getting an error in the console. I can provide the code I'm using if it'd be helpful.

Michael Petrotta
  • 59,888
  • 27
  • 145
  • 179
Haseeb Warraich
  • 141
  • 1
  • 2
  • 12
  • The AdMob SDK requires a valid view controller to be returned from currentViewController (AdMobDelegateProtocol). Cancelling ad request. ADBannerView: ADBannerContentSizeIdentifier320x50 is deprecated, please use ADBannerContentSizeIdentifierPortrait instead these Errors – Haseeb Warraich Apr 18 '11 at 07:33

1 Answers1

0

Try by implementing this delegate...

- (UIViewController *)viewControllerForPresentingModalView
{
    return yourAPP.viewController;
}
Chandan Shetty SP
  • 5,087
  • 6
  • 42
  • 63