Using pushViewController: animated:
问题 I'm trying to use the pushViewController: animated: with a UIViewController. I have it housed in a UINavigationController with initWithRoot and it still doesn't work. Here is my code? Am I doing something wrong? CloudappSettingsViewController *cloud = [[CloudappSettingsViewController alloc] initWithNibName:nil bundle:nil]; UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:cloud]; [self pushViewController:nav animated:YES]; [cloud release]; It always