应用程序尝试以模态方式呈现分割视图控制器(我的应用程序中没有分割视图)
所以这个应用程序大约一个月前发布到应用程序商店。我已经有一段时间没有用它做任何事情了,但今天我进去并开始进行更新。当尝试以模态方式阻止视图控制器时,我收到此错误。视图控制器是相同的标准视图控制器,并且应用程序中的任何位置都没有分割视图。
有谁知道什么会让它认为视图是分割视图?我以前从未制作过分割视图控制器。
AddEntryViewController_iPad *vc = [[AddEntryViewController_iPad alloc]init];
vc.delegate = self;
[self presentModalViewController:vc animated:NO];
更新:这只发生在模拟器上。当我在设备上运行它时,它工作正常......不明白。
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 presentModalViewController:vc animated:NO];
update: this only occurs on the simulator. When I run it on the device it works fine...dont get it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
好吧,我只是通过将其更改为以下内容来修复它:
奇怪,因为它与其他 viewController 的其他方式工作正常。
well i fixed it just by changing it to the following:
Strange because it works fine the other way from other viewControllers.