30 
 
        
      
      尝试在视图不在窗口层次结构中的UIViewController上呈现UIViewController
      
  刚开始使用Xcode 4.5,我在控制台中收到此错误: 警告:尝试在视图不在窗口层次结构中的<ViewController:0x1ec3e000>上显示<finishViewController:0x1e56e0a0>! 该视图仍在显示,应用程序中的所有内容均正常运行。这是iOS 6的新功能吗? 这是我用来在视图之间进行更改的代码: UIStoryboard *storyboard = self.storyboard; finishViewController *finished = [storyboard instantiateViewControllerWithIdentifier:@"finishViewController"]; [self presentViewController:finished animated:NO completion:NULL];
      
        
          
                   599
                
        
        
          
                  
                    ios 
                  
                    cocoa-touch 
                  
                    ios6 
                  
                    views 
                  
                    hierarchy