I have a UISplitViewController based application that shows an ActionSheet in a MasterViewController Split. Prior to iOS 5.1, I had no problems presenting the action sheet in the popover presented by the section, but now, apparently, something is wrong with the new βslideβ way to show MasterController.
The fact is that when I try to present an ActionSheet using any [actionSheet show ..] method, the application crashes with the following error (the exact statement is the following).
*** 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
I find this for a while, but no significant answers. Some people say this may be a bug in the new SplitViewController ...
Ideas?
Thank you in advance!
UPDATE: I posted a possible general workaround, check it out. If this works for you, leave a comment ... If everything is in order, I will mark it as correct in a couple of days
Omer
source share