I am new to iPhone development.
I am calling one viewController on my button click event. But when I come back, my -dealloc
method is not called. Here is my code of button click event:
-(IBAction)btnAddPressed:(id)sender
{
FriendsTableListViewController *viewController = [[FriendsTableListViewController alloc] initWithNibName:@"FriendsTableListViewController" bundle:nil];
[self.navigationController pushViewController:viewController animated:YES];
[viewController release];
}
以下是我对主控器的观景方法,
-(void)dealloc{
[super dealloc];
}
我不知道为什么交易方法不起作用 请帮帮我,谢谢...