アプリにログイン画面ビューと 5 つのタブがあります。LoginScreen を完了したら、タブ ビュー (5) に移動する必要があります。このため、ログイン タスクが完了したら、ビューを削除して追加する必要があります。タブの別のView Controller..これを行う方法...
- (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