title: RemoveFromSuperView don't work
body: <p>Although I declared the <code>UIView</code> in the header file (as below):</p>
  
  <pre><code>IBOutlet UIView *aCustomMsgBoxView;
  </code></pre>
  
  <p>The RemoveSuperView works in one method but not in the other. It works if I put it in this method:</p>
  
  <pre><code>-(IBAction)showMsgBox:(id)sender
  
  {
  
  vc = [ViewController sharedInstance].self;
  
  aCustomMsgBoxView = [[UIView alloc] init];
  
  NSArray *nibObjects = [[NSBundle mainBundle] loadNibNamed:@"customMsgBox" owner:self options:nil];
  
  aCustomMsgBoxView = [nibObjects objectAtIndex:0];
  
  aCustomMsgBoxView.frame = CGRectMake(35, 80, 250, 146);
  
  [vc.view addSubview:aCustomMsgBoxView];
  }
  </code></pre>
  
  <p>But I don't need it in the above method, I need it in the method below where it doesn't work:</p>
  
  <pre><code>-(IBAction)hideMsgBox:(id)sender
  
  {
  
      [newAnnotationTitle resignFirstResponder];
  
      [aCustomMsgBoxView removeFromSuperview];
  }
  </code></pre>
  
  <p>Of course both methods sit in the same class...</p>
  
  <p>Why isn't the view being removed from the screen??</p>