我已經工作導航基地應用。 我的問題是,當我推其他視圖控制器到導航控制器.view控制器viewWillAppear中不叫。導航欄沒有顯示在推視圖控制器
TestCategoryHistory *testVC = [[TestCategoryHistory alloc] initWithNibName:@"TestCategoryHistory" bundle:nil];
[self.navigationController pushViewController:testVC animated:YES];
[testVC release];`
這裏測試的viewWillAppear中不called.And導航欄也沒有顯示..
viewWillLoad是否被調用? –
是的,它被稱爲。但主要問題是導航欄不顯示在視圖控制器。 – kEvin
@AntonioMG viewWillLoad ......你確定嗎? –