My UIActionSheet isn't clickable, and now I can't do anything
I open a UIActionSheet with [actionSh开发者_运维百科eet openInView:view] ... and it opens in the iPhone simulator. And you can't click on it.
Any ideas?
There is one particular issue with action sheets where the cancel button is not touchable when you present a UIActionSheet from a view inside a tab bar controller. To work around this you should present the action sheet from the tab bar controller's view:
[actionSheet openInView:self.tabbarController.view];
You should also check if your view (from which you are showing the actionsheet) is touchable or not means if the view's userinteraction is not disabled. If this is alright then check for Mike Weller's answer.
Hope this helps, Thanks,
Madhup
精彩评论