Hi,
I m Copying my code here below :-
-(IBAction)referencewindow:(id)sender
{
frmReferences *reference = [[frmReferences alloc]initWithNibName:@"frmReferences" bundle:nil];
[self presentModalViewController:reference animated:YES];
}
There are number of places I m using presentModelViewController and my problem is that stack shows memory leakage due to presentmodelviewcontroller.
when we use presentModelViewController to call other nib as above stated then it just override to the previous view but previous view is still in process thats why memory lekage problem is occuring so please tell me when i call other nib file using presentModelViewController then how to unload that previous view from memory while switch to other view and then on other view to next view.