UIViewController를 스택에 밀어 넣으려고하지만, 밀어 넣은 후 [viewController release]
을 호출하면 스택에서 꺼내지 만, 여러 가지로 나타납니다. 뷰 컨트롤러의 할당 해제 된 인스턴스와 관련된 오류입니다.뷰 컨트롤러를 밀어 넣는 적절한 방법
RootViewController *rootViewcontroller = [[RootViewController alloc] initWithNibName:@"RootViewController"
bundle:nil];
[self.navigationController pushViewController:rootViewController animated:YES];
[rootViewController release];
만든 컨트롤러와 다른보기 컨트롤러를 밀고 있습니다. – blindjesse
"다양한 오류"는 무엇입니까? – progrmr
더 구체적인 오류가있는 토론으로 이동했습니다. 주요 문제는 여기에 게시됩니다 : http://stackoverflow.com/questions/2376979/calayer-retaincount-sent-to-deallocated-instance – skylerl