0
TTTabItem에서 Tab을 눌렀을 때 UIViewController를 열 수있는 방법을 말해 줄 수 있습니까?TTTabIcon을 클릭 할 때 UIViewController를 엽니 다.
URL 매핑은 애플 대리자로 수행됩니다
CGRect applicationFrame = [UIScreen mainScreen].applicationFrame;
self.view = [[[UIView alloc] initWithFrame:applicationFrame] autorelease];
self.view.backgroundColor = TTSTYLEVAR(tabTintColor);
_tabBar = [[TTTabStrip alloc] initWithFrame:CGRectMake(0, 0, applicationFrame.size.width, 41)];
_tabBar.tabItems = [NSArray arrayWithObjects:[[[TTTabItem alloc] initWithTitle:@"Anno 1834"] autorelease], nil];
[self.view addSubview:_tabBar];
지금 사용 TTTabStrip 아래에 또 다른의 UIViewController을 열 수있는 방법 : 다음
TTNavigator* navigator = [TTNavigator navigator];
navigator.supportsShakeToReload = YES;
navigator.persistenceMode = TTNavigatorPersistenceModeAll;
TTURLMap* map = navigator.URLMap;
[map from:@"*" toViewController:[TTWebController class]];
[map from:@"tt://mannschaft" toViewController:[MannschaftController class]];
내보기 컨트롤러에서 내가 성공적으로 내 TTTabSTrip을 추가 한 TTURLMap?
덕분에,