Here’s something that might be useful to those having the same problem as I did: how to replace the detail view of an
The problem with
UISplitViewController is that you can’t display two of them on top of each other using
presentModalViewController, if you try you will end up with an exception like this one:
reason: 'Application tried to present a Split View Controllers modally <uisplitviewcontroller : 0x47b4c90>.'
Here’s my solution:
MoreController *more = [[MoreController alloc] initWithNibName: @"More"
split.viewControllers = [NSArray arrayWithObjects: menu, more, nil];
split.delegate = more;
[window addSubview: split.view];
Hope this is useful to someone and please leave a comment if you know a better/proper way to do it.