title: Crash while presenting a view controller after closing Google Mobile Ads Splash Interstitial
body: <p>iOS App is crashing, if we try to present a view after dismissing the Google Mobile Ads <a href="https://developers.google.com/mobile-ads-sdk/docs/admob/advanced#splashinterstitials" rel="nofollow">Splash Interstitial</a>.</p>
  
  <p>Simulator Version : iOS 7.1(4 inch 64 bit)
  Google Mobile Ads SDK Version : 6.9.2</p>
  
  <p>Code for presenting splash ad(application:didFinishLaunchingWithOptions:) :</p>
  
  <pre><code>InitialSlidingViewController *controller = [[InitialSlidingViewController alloc] init];
  [self.window setRootViewController:controller];
  
  splashInterstitial_ = [[DFPInterstitial alloc] init];
  splashInterstitial_.adUnitID = SplashInterstitialID;
  GADRequest *request = [GADRequest request];
  splashInterstitial_.delegate = self;
  request.testDevices = [NSArray arrayWithObjects:GAD_SIMULATOR_ID, nil];
  [splashInterstitial_ loadAndDisplayRequest:request
                                 usingWindow:window_
                                initialImage:[UIImage imageNamed:imageName]];
  
  [self.window setBackgroundColor:[UIColor blackColor]];
  [self.window makeKeyAndVisible];
  </code></pre>
  
  <p>Delegate Methods used</p>
  
  <pre><code>    - (void)interstitial:(DFPInterstitial *)interstitial didFailToReceiveAdWithError:(GADRequestError *)error {
      //present a view
  }
  - (void)interstitialDidDismissScreen:(GADInterstitial *)ad {
      ad.delegate = nil;
      splashInterstitial_.delegate = nil;
      ad = nil;
      splashInterstitial_ = nil;
  
      //Present a view controller
  }
  </code></pre>
  
  <p>Code used for presenting view</p>
  
  <pre><code>NewViewController *newVC = [[NewViewController alloc] initWithNibName:@"NewViewController" bundle:nil];
      UINavigationController *nav = [[PortraitNavController alloc] initWithRootViewController:newVC];
      nav.navigationBarHidden = YES;
      [self.navigationController presentViewController:nav animated:YES completion:nil];
  </code></pre>
  
  <p>//Crash Log from console:</p>
  
  <blockquote>
    <p><em>*</em> -[GADWebAppViewController isKindOfClass:]: message sent to deallocated instance 0x573efe90</p>
  </blockquote>