내 코드는 다음과 같습니다. 여는 rootviewController에 뒤로 버튼을 넣고 싶습니다. 은 UINavigationController에서 뒤로 버튼의UINavigationController의 RootViewController에 다시 버튼을 표시하는 방법은 무엇입니까?
- (void)selectSurah:(id)sender {
SurahTableViewController * surahTableViewController = [[SurahTableViewController alloc] initWithNibName:@"SurahTableViewController" bundle:nil];
[email protected]"Surah";
s[email protected]"Back";
UINavigationController *aNavigationController = [[UINavigationController alloc] initWithRootViewController:surahTableViewController];
[self presentModalViewController:aNavigationController animated:YES];
}
어디로 가야합니까? – jarryd
대답은 분명합니다. presentModalViewController가 호출 된 곳으로 되돌아갑니다. 아래 @Flex_Addicted answer를 참조하십시오. – shaikh