Hi,
I have a navigation based application, I am getting memory leaks when i push my view controller to navigation controller.
Code:
MyController *filter = [[MyController alloc] initWithNibName:@"MyController" bundle:nil];
[self.navigationController pushViewController:filter animated:YES];
[filter release] ;
I just noticed that it only leaks when I use animated:TRUE while pushing my view controller and doesn't leaked when I set animated:NO.
Code:
MyController *filter = [[MyController alloc] initWithNibName:@"MyController" bundle:nil];
[self.navigationController pushViewController:filter animated:NO];
[filter release] ;
If someone have faced the same problem then please help me out.
thanks in advance.