Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In iphone app, with 3 viewcontrollers with UInavigationcontroller, from 2nd to 3rd view, dealloc is not called
- [self.navigationContrller pushViewController:titlesViewController];
- [titlesViewController release];
- @implementation TitlesViewController
- NSMutableArray *titleArray;
- NSMutableArray *bidArray;
- ...
- - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
- ...
- [self.navigationController pushViewController:detailViewController animated:YES];
- [webView release];
- [detailViewController release];
- [titleArray release];
- [bidArray release];
- NSLog(@"****** titlesviewcontoller didSelectRowAtIndexPath");
- }
- - (void)dealloc
- {
- [titleArray release];
- [bidArray release];
- [super dealloc];
- NSLog(@"****** titlesviewcontoller dealloc");
- }
- @end
- [titleArray release];
- [bidArray release];
Add Comment
Please, Sign In to add comment