[objective-c]storyboardを入れ替える

storyboardを入れ替える

UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"Setting" bundle:nil];
UIViewController * vc = [storyboard instantiateInitialViewController];
[UIApplication sharedApplication].keyWindow.rootViewController=vc;