I have a UIToolbar
with several UIBarButtonItem
s that show various UIActionSheet
s using showFromBarButtonItem:
.
On the iPad, when one of those Action Sheets is on the screen, touching anywhere outside the Action Sheet removes it and does nothing else (e.g. touching a button does not trigger the button). This is by design - something that I'm not happy about but I accept it as long as it's the usual behavior.
There's one exception though. If I touch another UIBarButtonItem
, this button IS triggered and the current action sheet is NOT removed from the screen. If the new button happens to launch another UIActionSheet
, I end up having two (or more) action sheets on the screen.
Of course I can go go through a tedious process of remembering what's on the screen and dismissing it manually, but I'm also concerned about the user since some touches (those that target the toolbar buttons) are honored while others are ignored.
Is there anything that I can do or do I have to live with this situation?