미끄러지거나 푸시 알림을 눌러 시작할 때 initialView의 childViewController를 시작하려고합니다.작동하는 "뒤로"버튼이있는 childViewController를 시작합니다. iOS
지금은 childView를 시작할 수 있지만 함수가 작동하지 않습니다. .m 파일에서 시작한 레이블 중 하나가 표시되지 않습니다.
모든 기능 (보기 버튼 (상위 버튼으로 돌아 가기),보기에서 functionButtons (기능 버튼)이 제대로 연결됨)이 제대로 작동하는지 어떻게 확인할 수 있습니까?
이UIStoryboard *mainStoryboard = [UIStoryboard storyboardWithName:@"MainStoryboard"
bundle: nil];
NotificationsViewController *viewController= [mainStoryboard instantiateViewControllerWithIdentifier:@"NotificationsViewController"];
UINavigationController *nav = [[UINavigationController alloc]
initWithRootViewController:viewController];
[_window setRootViewController:nav];
루트보기 컨트롤러로 설정하고 스택으로 푸시하지 않습니다. 돌아갈 수 있기를 원한다면 parentViewController가 필요합니다.이 경우에는 – CWitty
@CWitty가 없으므로 어떻게 응용 프로그램 대리인의 스택에 푸시 할 수 있습니까? – user3178926
기존 내비게이션 컨트롤러가 무엇이든 노출하고 밀어주십시오. – CWitty