开发者

How to take control of Dismissal of UIAlertView in iPhone

I need to know if I can decide in the action method of the Buttons of UIAlertView whether to dismiss the alertView or not. In short On click开发者_高级运维 of certain buttons of AlertView, I dont want my alert view to dismiss.


There's no way that I know of to do this. But it sounds like you're using UIAlertView in a manner for which it's not really intended. What are you actually trying to accomplish?


I ended up adding my own custom button instead of using the ones provided by the AlertView. After assigning my own actions to this Buttons I was able to control the dismissal of the alertview from those actions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜