我的一个视图控制器关闭了 ARC,但是当我导航到上一个视图控制器时,我的 dealloc 方法没有被调用。
对于我使用的推送视图控制器
Magazine_ArticleViewController_iPhone *viewController = [[Magazine_ArticleViewController_iPhone alloc]
initWithNibName:@"Magazine_ArticleViewController_iPhone"
bundle:[NSBundle mainBundle]];
viewController.hidesBottomBarWhenPushed = YES;
IssueDataHolder *dataHolder = [m_arrIssueData objectAtIndex:m_nCurrentIssueIndex];
NSLog(@"%d",dataHolder.nIssueID);
[viewController setM_IssueDataHolder:dataHolder];
[self.navigationController pushViewController:viewController animated:YES];
[viewController release];
并导航我以前使用的视图控制器
[self.navigationController popViewControllerAnimated:YES];