我有一個登錄屏幕視圖和5個選項卡在app.I想當我完成登錄屏幕,它應該移動到標籤視圖(5)。這一旦登錄任務完成後,我必須除去視圖並添加tab..how這樣做的另一個視圖控制器...DidFinishLoading view change
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.viewController = [[ViewController alloc] initWithNibName:@"ViewController" bundle:nil];
UINavigationController *nav=[[UINavigationController alloc]initWithRootViewController:self.viewController];
self.window.rootViewController = nav;
[self.window makeKeyAndVisible];
return YES;
}
像這樣,我移到登錄視圖...現在怎麼登錄和移動完成後刪除到tab1,tab2,tab3,tab4,tab5
發現這個鏈接我的答案可能是幫助給你http://stackoverflow.com/a/13857343/510814 – Senthilkumar
http://stackoverflow.com/questions/13856933/tabbar-in-second-view/13857070#13857070 – Rajneesh071