Is dealloc method called in presentModalViewController when dismiss the controller.
        Posted  
        
            by Madan Mohan 
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Madan Mohan 
        
        
        
        Published on 2010-03-25T05:53:55Z
        Indexed on 
            2010/03/25
            6:23 UTC
        
        
        Read the original article
        Hit count: 657
        
iphone
|objective-c
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]; } 
© Stack Overflow or respective owner