So this app was released to the app store about a month ago. I haven't done anything with it for awhile but today I went to go in and start working on an update. I get this error when trying to prevent a view controller modally. The view controller is the same, standard viewcontroller and there are no split views anywhere in the app.
Does anyone know what could make it think the view is split view? I've never even made a split view controller before.
AddEntryViewController_iPad *vc = [[AddEntryViewController_iPad alloc]init];
vc.delegate = self;
[self p开发者_JAVA百科resentModalViewController:vc animated:NO];
update: this only occurs on the simulator. When I run it on the device it works fine...dont get it.
well i fixed it just by changing it to the following:
AddEntryViewController_iPad *vc = [[AddEntryViewController_iPad alloc]initWithNibName:nil bundle:nil ];
Strange because it works fine the other way from other viewControllers.
精彩评论