Prevent UIAlertController to dismiss

后端 未结 2 1771
轻奢々
轻奢々 2020-11-30 07:30

I would like to prevent the UIAlertController from dismissing.

I have a UIAlertAction that simply appends a string into the UIAlertTextFie

2条回答
  •  心在旅途
    2020-11-30 08:09

    Pretty much the same question is answered here

    Text field on alert supports paste option, so there is no real reason to have separate button on alert to indicate "paste" option.

    Otherwise you should mimic UIAlertController and reimplement it with desiread behavior.

提交回复
热议问题