storyboard 跳转

UIStoryboard*story=[UIStoryboardstoryboardWithName:@"Main"bundle:nil];

rootViewController*rootVC=[storyinstantiateViewControllerWithIdentifier:@"root"];

[selfpresentViewController:rootVCanimated:YEScompletion:nil];

你可能感兴趣的:(storyboard 跳转)