How to call other Controller nib in iphone?
<p>I'm using the following procedure in my project to call any controller nib in my project on button click :-</p>

<pre><code>-(IBAction)referencewindow:(id)sender
{
    frmReferences *reference = [[frmReferences alloc]initWithNibName:@"frmReferences" bundle:nil];
    [self.parentViewController presentModalViewController:reference animated:YES];

    [reference release];    
}
</code></pre>

<p>But problem is that when i call the same from other View Controller then it gets terminated why it gets terminated .</p>

<p>So please tell how i can call any controller nib from any where on button click</p>

<p>Please reply its urgent and i m very thankfull if reply me soon.</p>

<p>please send me code for that.</p>
