title: Dismiss a UIViewController and make ui change in another class
body: <p>In my app I have 2 classes of <code>UIViewController</code>. The <code>FirstViewController</code> is a view that has this method,that adds a uitableview to the view of the controller:</p>
  
  <pre><code> -(IBAction)SetTabState:(id)sender{
      if (sender == History) {
              [self.view  addSubview:HistoryView];
      }
  }
  </code></pre>
  
  <p>Now, in <code>SecondViewController</code> class I have 2 options to navigate back.
  The first option of navigating back is simply to go back which works fine :</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:YES];
  </code></pre>
  
  <p>The second option to navigate back and to bring up the history of view from the SeconedViewController
  So I am trying Something like this :</p>
  
  <pre><code>[self dismissModalViewControllerAnimated:YES];
  FirstViewController *Vc = [[FirstViewController alloc]init];
  [Vc SetTabState:Vc.History];
  </code></pre>
  
  <p>The true is that firing a methods from <code>UIViewController</code> classes was something I have never understand.</p>