title: How to Modal or Present a viewController in Cocos2d V3?
body: <p>How do I present or modal a viewController from a Cocos2d V3 scene?</p>
  
  <p>I am trying to add a Login In ViewController to a game I have created in Cocos2d V3.x that loads from the traditional helloWorldScene but everything I have searched and tried so far hasn't worked. (openGLView, AppController)</p>
  
  <p>I had given up and attempted to add a View instead by adding the following two lines -</p>
  
  <pre><code>LoginViewController  *myView = [[LoginViewController alloc] init];
  
  [[[[CCDirector sharedDirector] view] window] addSubview:myView.view];
  </code></pre>
  
  <p>This presents the view on top of the scene but setting the anything.delegate = self on anything crashes the App. I assume this is because I am loading a view instead of a viewController which lead to my main question.</p>
  
  <p>Any help would be greatly appreciated!</p>