문제

I have working on navigation base application. my problem is that when i am push other view controller into navigation controller .view controller viewWillAppear is not called.

TestCategoryHistory *testVC = [[TestCategoryHistory alloc] initWithNibName:@"TestCategoryHistory" bundle:nil];

[self.navigationController pushViewController:testVC animated:YES];
[testVC release];`

here test's viewWillAppear is not called.And also navigationbar is not showing..

도움이 되었습니까?

해결책

make sure your current view controller is "in" a Navigation controller. Only so, you can push another view controller to show.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top