I'm still trying to find a solution to what is theoretically a very simple task and comes from the UIViewController to the Split View controller. (Why an apple made it so difficult).
I am in the stage where I now put the SplitViewController in my own storyboard. And when the user selects a button on one UIView controller, I call the following code:
UISplitViewController *splitVC = [[UIStoryboard storyboardWithName:@"SplitStoryBoard" bundle:nil] instantiateViewController]; [self presentViewController:splitVC animated:YES completion:nil];
So, I want to load the storyboard using the splitview controller. But it also crashes with "Application trying to present Split View modally controllers"
I did not specify any "modal" actions in the code.
Is there any solution how to do this?
source share