title: error after change rootviewcontroller +[NSNotificationCenter dictationViewClass]
body: <p>I get the following error after I change the rootViewControler of my UIWindow.</p>
  
  <pre><code>2012-10-16 15:12:35.653 repdocApp[22898:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '+[NSNotificationCenter dictationViewClass]: unrecognized selector sent to class 0x1d63914'
  </code></pre>
  
  <p>The strange thing is, it only occurs if I have a line in my code which will never be executed at this time.</p>
  
  <pre><code>-(void)collectionView:(UICollectionView *)collectionView didSelectItemAtIndexPath:(NSIndexPath *)indexPath
  {   
      AppDelegate *app = (AppDelegate *) [[UIApplication sharedApplication] delegate];
      OverviewModel *model = [self.dataArray objectAtIndex:indexPath.row];
  
  if (model.modelType == ModelTypeCatalog)
  {
       NSLog(@"HERE");
      if (app.window.rootViewController == app.catalogViewController)
      {
          return;
      }
      // with this return no error but this branch is never executed
      // return;
      [UIView transitionFromView:app.window.rootViewController.view
                          toView:app.catalogViewController.view
                        duration:0.45f
                         options:UIViewAnimationOptionTransitionCrossDissolve
                      completion:^(BOOL finished){
                          app.window.rootViewController = app.catalogViewController;
                      }];
  }
  else
  {
      if (app.window.rootViewController == app.catalogViewController)
      {
          [app.navigationPopoverController dismissPopoverAnimated:NO];
          [UIView transitionFromView:app.window.rootViewController.view
                              toView:app.splitViewController.view
                            duration:0.45f
                             options:UIViewAnimationOptionTransitionCrossDissolve
                          completion:^(BOOL finished){
                              app.window.rootViewController = app.splitViewController;
                          }];
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I search the whole internet but I found nothing about +[NSNotificationCenter dictationViewClass] or what this can be.</p>
  
  <p>EDIT:
  I notice now, it only happens if I change the rootViewController in a transition, if I do it directly no error happens.</p>