我具有基于UISplitViewController其示出了在拆分的MasterViewController一个ActionSheet的应用程序。在iOS 5.1之前,我并没有在分离出现的弹出窗口中显示操作表,但现在,显示MasterController的新“滑入式”方式显然存在问题。的iOS 5.1 + UISplitViewController在PortraitMode + UIActionSheet在MasterController =断言故障
事情是,当我试图使用任何[actionSheet show ..]方法呈现ActionSheet时,应用程序崩溃,出现以下错误(确切声明如下)。
*** Assertion failure in -[UIActionSheet presentSheetInPopoverView:], /SourceCache/UIKit_Sim/UIKit-1914.84/UIActionSheet.m:1816
sharedlibrary apply-load-rules all
Error in re-setting breakpoint 1:
Catchpoint 2 (throw)Error in re-setting breakpoint 1:
Error in re-setting breakpoint 1:
Current language: auto; currently objective-c
我谷歌这一段时间,但没有实质性的答案。有人说,它可以在 新SplitViewController一个bug ......
想法?
预先感谢您!
更新:我贴出了可能的解决办法一般,检查出来。如果你的作品,发表评论....如果其确定,我将迎来它在几天
那么有什么实际的说法对吗?从控制台给我们留言。 – 2012-03-15 20:48:52
我用精确的断言编辑了问题。谢谢 – Omer 2012-03-16 12:22:36
之后我们需要控制台中的下十行左右。 – 2012-03-16 13:04:26