Как показать кнопку «Назад» в RootViewController UINavigationController?

Вот мой код. Я хочу поместить кнопку «Назад» на открывающийся rootviewController.

- (void)selectSurah:(id)sender {

    SurahTableViewController * surahTableViewController = [[SurahTableViewController alloc] initWithNibName:@"SurahTableViewController" bundle:nil];
    surahTableViewController.navigationItem.title=@"Surah";

    surahTableViewController.navigationItem.backBarButtonItem.title=@"Back";

    UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:surahTableViewController];

    [self presentModalViewController:aNavigationController animated:YES];   
}
12
задан Lorenzo B 1 July 2012 в 15:46
поделиться