調用initWithNib後,我有額外的保留計數。 這可能是什麼原因造成的? (有沒有引用網點筆尖)initWithNibName後額外保留計數
StepViewController *stepViewController = [[StepViewController alloc] initWithNibName:@"StepViewController" bundle:nil];
[self.navigationController pushViewController:stepViewController animated:YES];
[stepViewController release];
NSLog(@"nextStep stepViewController retain count %i", [stepViewController retainCount]);
上述結果在3保留個性化......
感謝對如何解決
澄清 - initWithNibName和pushViewController後4保留計數是1 ... 任何想法? – OptimisticMonkey 2010-05-24 03:30:15