0
我有2個故事板當前控制器到達第一個視圖控制器。我想通過一個類移動到第二個故事板通過一個類移動到另一個故事板到另一個故事板
UIStoryboard * storyboard=[UIStoryboard storyboardWithName:@"CMS_OrganisationManagement" bundle:nil];
UIViewController *viewcontroller=[storyboard instantiateViewControllerWithIdentifier:@"WS_OrganisationSelectViewController"];
UIWindow *window;
window.rootViewController = viewcontroller;
它不工作 和我試試這個方法also.it也不起作用
UIStoryboard * storyboard=[UIStoryboard storyboardWithName:@"CMS_OrganisationManagement" bundle:nil];
UIViewController *viewcontroller=[storyboard instantiateViewControllerWithIdentifier:@"WS_OrganisationSelectViewController"];
UINavigationController * navigationController=[[UINavigationController alloc]init];
[navigationController pushViewController:viewcontroller animated:YES];
類具有與viewcontroller.so沒有關係,沒有導航控制器 – athira