Iphone iOS 4.3.3出现奇怪的iAd错误

Iphone iOS 4.3.3出现奇怪的iAd错误,iphone,ios,iad,Iphone,Ios,Iad,我有一个应用程序可以按照苹果提供的“iAd套件”中推荐的方式实现iAd,但当我在iPhone上运行iOS 4.3.3时,我会有一些奇怪的行为 具体来说,尽管我实现了委托并实现了以下方法 #pragma mark ADBannerViewDelegate methods -(void)bannerViewDidLoadAd:(ADBannerView *)banner { //NSLog(@"LOADING AN AD"); [self layoutForCurrentOrientation:Y

我有一个应用程序可以按照苹果提供的“iAd套件”中推荐的方式实现iAd,但当我在iPhone上运行iOS 4.3.3时,我会有一些奇怪的行为

具体来说,尽管我实现了委托并实现了以下方法

#pragma mark ADBannerViewDelegate methods

-(void)bannerViewDidLoadAd:(ADBannerView *)banner
{
//NSLog(@"LOADING AN AD");
[self layoutForCurrentOrientation:YES];
}

-(void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error
{
[self layoutForCurrentOrientation:YES];
}

-(BOOL)bannerViewActionShouldBegin:(ADBannerView *)banner willLeaveApplication:(BOOL)willLeave
{
return YES;
}

-(void)bannerViewActionDidFinish:(ADBannerView *)banner
{
}
我间歇性地出现这个错误

2011-05-07 16:08:42.207 colescorner[3344:707] -[UIPanGestureRecognizer bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0x1c4c70
2011-05-07 16:08:42.387 colescorner[3344:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIPanGestureRecognizer bannerView:didFailToReceiveAdWithError:]: unrecognized selector sent to instance 0x1c4c70'
*** Call stack at first throw:
(
0   CoreFoundation                      0x317ac64f __exceptionPreprocess + 114
1   libobjc.A.dylib                     0x352c7c5d objc_exception_throw + 24
2   CoreFoundation                      0x317b01bf -[NSObject(NSObject) doesNotRecognizeSelector:] + 102
3   CoreFoundation                      0x317af649 ___forwarding___ + 508
4   CoreFoundation                      0x31726180 _CF_forwarding_prep_0 + 48
5   iAd                                 0x34fbd785 -[ADBannerView _sanitizeAndForwardErrorToDelegate:] + 44
6   iAd                                 0x34fbbc55 -[ADBannerView controller:didFailWithError:] + 152
7   iAd                                 0x34fc659d -[ADBannerController unloadAndClose] + 60
8   iAd                                 0x34fc04a1 -[ADSession createSession] + 444
9   iAd                                 0x34fbffe7 -[ADSession considerCreatingSessions] + 270
10  iAd                                 0x34fbfa55 __-[ADSession considerCreatingSessions]_block_invoke_2 + 16
11  libdispatch.dylib                   0x360928e7 _dispatch_call_block_and_release + 10
12  libdispatch.dylib                   0x3608e771 _dispatch_after_timer_callback + 12
13  libdispatch.dylib                   0x36090341 _dispatch_source_invoke + 436
14  libdispatch.dylib                   0x3608e041 _dispatch_queue_invoke + 92
15  libdispatch.dylib                   0x3608e1c3 _dispatch_main_queue_callback_4CF$VARIANT$up + 262
16  CoreFoundation                      0x3178693b __CFRunLoopRun + 1334
17  CoreFoundation                      0x31716ec3 CFRunLoopRunSpecific + 230
18  CoreFoundation                      0x31716dcb CFRunLoopRunInMode + 58
19  GraphicsServices                    0x3109541f GSEventRunModal + 114
20  GraphicsServices                    0x310954cb GSEventRun + 62
21  UIKit                               0x3183cd69 -[UIApplication _run] + 404
22  UIKit                               0x3183a807 UIApplicationMain + 670
23  myapp                         0x0000212d main + 48
24  myapp                         0x000020f8 start + 40
)
terminate called after throwing an instance of 'NSException'

有人见过这种怪诞吗?我注意到的另一件事是,我可以使用模拟器使它失败(不是iPhone4.0、4.1、4.2版)。。只有在安装到实际设备或在4.3.3模拟器上运行时才会发生这种情况

我遇到类似的故障。在我的堆栈中是AdMessagePortCallBack。我不确定是否有可能对此采取任何措施,因为据我所知,这是一次内部崩溃。没有尝试过任何硬件<4.3.3您所说的有点含糊不清。你能让它在iOS 4.0-4.2上失败吗?