解决方法
- (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated { if(navigationController.viewControllers.count != 1) { // not the root controller - show back button instead return; } UIBarButtonItem *menuItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemOrganize target:self action:@selector(menuItemSelected:)]; [viewController.navigationItem setLeftBarButtonItem:menuItem]; }