title: How to send a message over presentModalViewController to a UIViewContoller(login) that Button is pressed?
body: <p>So here is my problem:</p>
  
  <p>I have an AppDelegate with a navigationController:</p>
  
  <pre><code>[self.window addSubview:navigationController.view];
  </code></pre>
  
  <p>In there i put an presendModalViewController:</p>
  
  <pre><code>- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 
   [[self navigationController] presentModalViewController:passwordViewController animated:YES];
  </code></pre>
  
  <p>}</p>
  
  <p>I want an PasswordView which takes the Password and tells the UIView in the NavigationController that he can begin his work with catching information from the internet, with a nice MBProgressHUD Loading View.</p>
  
  <p>I tried to build up an Delegate but it does´t work because the instance of my UIView is build up in the Navigation controller.</p>
  
  <p>I there a way to tell my UIView which is in my NavigationController that Password was given and back that the Password was right und say back with:</p>
  
  <pre><code>[self.parentViewController dismissModalViewControllerAnimated:YES];
  </code></pre>
  
  <p>to remove this View?</p>
  
  <p>There is an App named iOutbank which has what I want to assume...</p>