Hello everybody.
I have a tabBarController project and i put an UIWebView on the first controller.
It's all working except the didFailLoadWithError.
Here it is the code
myappFirstViewController.h
	
	
	
		
myappFirstViewController.m
	
	
	
		
i cannot understand why (for example in AereoMode) it does not enter in
	
		
Thank you to everybody
p.s I have the same problem with iAd and
	
		
 and also 
	
	
	
		
p.s. I am using xCode 4.3
	
		
			
		
		
	
				
			I have a tabBarController project and i put an UIWebView on the first controller.
It's all working except the didFailLoadWithError.
Here it is the code
myappFirstViewController.h
		Code:
	
	#import <UIKit/UIKit.h>
@interface myappFirstViewController : UIViewController <UIWebViewDelegate> 
@property (weak, nonatomic) IBOutlet UIWebView *MY_uiwebview;
@end
	myappFirstViewController.m
		Code:
	
	#import "myappFirstViewController.h"
@interface myappFirstViewController ()
@end
@implementation myappFirstViewController
@synthesize MY_uiwebview;
-(void)MY_uiwebview:(UIWebView *)MY_uiwebview didFailLoadWithError:(NSError *)error {
    NSLog(@"ERROR UIWEBVIEW");
    UIAlertView *alert = [[UIAlertView alloc] initWithTitle:@"Error" message:@"Connection error" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
    [alert show];
}
- (void)viewDidLoad
{
    [super viewDidLoad];
// Do any additional setup after loading the view, typically from a nib.
}
- (void)viewDidUnload
{
    [self setMY_uiwebview:nil];
    [super viewDidUnload];
    // Release any retained subviews of the main view.
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
   return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
}
- (IBAction)Play {......etc..... }
@end
	i cannot understand why (for example in AereoMode) it does not enter in
		Code:
	
	 -(void)MY_uiwebview:(UIWebView *)MY_uiwebview didFailLoadWithError:(NSError *)error
	Thank you to everybody
p.s I have the same problem with iAd and
		Code:
	
	-(void)bannerViewDidLoadAd:(ADBannerView *)banner {
	
		Code:
	
	-(void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error