开发者社区 问答 正文

请问怎么IOS UIAlertView点击确定按钮不消失?

怎样才能让UIAlertView只有一个确定按钮的情况下,点击确定 不让其消失

展开
收起
爵霸 2016-03-06 08:33:42 3116 分享 版权
1 条回答
写回答
取消 提交回答
  • 调用UIAlertView的代理方法,alertView clickedButtonAtIndex:(NSInteger)buttonIndex 判断buttonIndex == 0的时候,再执行一遍上面的UIAlertView

    2019-07-17 18:53:55
    赞同 展开评论