我正在开发一款与导航有关的应用程序。 我的问题是,当我将其他视图控制器推入导航控制器时,视图控制器的viewWillAppear方法未被调用。
TestCategoryHistory *testVC = [[TestCategoryHistory alloc] initWithNibName:@"TestCategoryHistory" bundle:nil];
[self.navigationController pushViewController:testVC animated:YES];
[testVC release];`
这里test的viewWillAppear方法没有被调用。并且导航栏也没有显示。