title: pushViewController call from uiview
body: <p>let me explain you my problem:</p>
  
  <p>I have an UIViewController with 2 UIViews.
  I have a button in one of my UIView and i call a methode from my UIViewController.</p>
  
  <pre><code>    [controller actionMainSettings];
  </code></pre>
  
  <p>And this is the methode:</p>
  
  <pre><code>-(void)actionMainSettings{
       MainSettings *mainController = [[MainSettings alloc] initWithNibName:@"MainSettings" bundle:nil];
      [self.navigationController pushViewController:mainController animated:YES];
      [[self navigationController] setNavigationBarHidden:YES animated:NO];
      [mainController release];   
  }
  </code></pre>
  
  <p>MainSettings is an UIVewController...</p>
  
  <p>and nothing happen...</p>
  
  <p>When i put my button in my UIVIewController (<code>[self.view addSubview:buttonSettings];</code>)    it's ok but i want to put it in another UIView.</p>
  
  <p>Can someone explain me what happen?</p>
  
  <p>thx</p>