Hey,
I'm using the following procedure in my project to call any controller nib in my project on button click :-
-(IBAction)referencewindow:(id)sender
{
frmReferences *reference = [[frmReferences alloc]initWithNibName:@"frmReferences" bundle:nil];
[self.parentViewController presentModalViewController:reference animated:YES];
[reference release];
}
But problem is that when i call the same from other View Controller then it gets terminated why it gets terminated .
So please tell how i can call any controller nib from any where on button click
Please reply its urgent and i m very thankfull if reply me soon.
please send me code for that.