2011-04-18 50 views
0

我必須在我的應用程序中實現AdWhirl。它工作正常 - 我現在從AdMob和iAd獲取廣告。iPhone應用程序中的AdWhirl集成問題

沒有來自AdMod和iAd的廣告。我在控制檯中出現錯誤。如果它有幫助,我可以提供我正在使用的代碼。

+0

AdMob廣告SDK需要一個有效的視圖控制器從currentViewController(AdMobDelegateProtocol)返回。 取消廣告請求。 ADBannerView:ADBannerContentSizeIdentifier320x50已棄用,請使用ADBannerContentSizeIdentifierPortrait代替 這些錯誤 – 2011-04-18 07:33:32

回答

0

嘗試通過實施該委託...

- (UIViewController *)viewControllerForPresentingModalView 
{ 
    return yourAPP.viewController; 
}