本文介绍了UIActionSheet在iOS7中,当用户在iPhone屏幕上轻敲ANYWHERE时关闭的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 我注意到在 $ 看起来像是 UI变更不是错误我怎么说呢?看看我从iOS7模拟器拍摄的图像 这是iPhone的地图应用程序的图像。 It is seems like an UI change not a bug how can I say that ? Have a look at the image i took from iOS7 simulatorIt is a image of Maps application of iPhone. 当您点击按钮(以红色矩形显示)时,一个操作表将显示,其中有如下所示的取消按钮 When you click on button ( display in red rectangle ) one action sheet will display which have Cancel button like below 如果您点击任何其他地方会关闭,同样的行为也发现在其他苹果应用程序也喜欢safari。 关于您的问题是否有方法禁用此功能? 对不起,我没有答案And if you click any where else it will close, same behaviour also found in other Apple applications also like safari.Regarding your question Is there a way to disable this?Sorry but i don't have answer for that. 这篇关于UIActionSheet在iOS7中,当用户在iPhone屏幕上轻敲ANYWHERE时关闭的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 09-23 12:07