1
xcode에 초보자가 있습니다. 사용자가 물건을 살 수있는 새로운 애플리케이션을 만들기 시작합니다. 로그인 페이지 인 ViewController가 있습니다. 사용자가 올바른 사용자 이름과 암호를 입력하고 버튼을 클릭하면 App이 사용자를 TabBarController에 연결합니다.ViewController에서 TabBarController로 전환
는 여기가 tabBarController를 연결하는 데 사용 내 코드입니다 :
- (void) LoginActionClicked {
//MainViewViewController is the TabBarController.
MainViewViewController *main = [[MainViewViewController alloc] initWithNibName:nil bundle:nil];
[self.navigationController pushViewController:main animated:YES];
}
내가 링크가 잘 작동하는 듯하지만 tabBarController 검은 밝혀졌다 및 탭 표시 줄이 작동하지 않은 프로그램을 실행합니다.
도움 주셔서 감사합니다. :)