title: push a view controller from a UIView ios
body: <p>I have a navigation based application.On click of a button on the navigation bar in the first screen , I am able to push another view controller as follows :</p>
  
  <pre><code> -(void) buttonClicked:(id)sender
  {
  
      UIViewController*  mv = [[SecondViewController alloc] init];
  
      [[self navigationController] pushViewController:mv animated:YES];  
  
  }
  </code></pre>
  
  <p>Now i have a UIView(separate .h and .m files) as part of the first screen. On click of a button in the UIView, i want to push the SecondViewController. 
  I have tried the following :</p>
  
  <pre><code> UIViewController*  mv = [[SecondViewController alloc] init];
   UIViewController * home=[[FirstViewController alloc]init];
   [[home navigationController] pushViewController:mv animated:YES];
  </code></pre>
  
  <p>It doesnt work!! Kindly help</p>