Is dealloc method called in presentModalViewController when dismiss the controller.
- by Madan Mohan
Hi Guys,
here the following code is used to view the present modal view controller.
[[self navigationController] presentModalViewController:doctorListViewNavigationController animated:YES];
code for dismiss the ModalViewController.
-(void)closeAction
{
[[self navigationController] dismissModalViewControllerAnimated:YES];
}
My problem is the dealloc method is not called then I am getting memory issue problems like object allocations, leaks..
(void)dealloc
{
[doctorList release];
[myTableView release];
[super dealloc];
}