iphone UIAlertView Modal

后端 未结 5 865
小蘑菇
小蘑菇 2020-12-10 14:50

Is it possible to present a UIAlertView and not continue executing the rest of the code in that method until the user responds to the alert?

Thanks in advance.

5条回答
  •  伪装坚强ぢ
    2020-12-10 15:37

    No, but the easy fix is to split your code at the point you present the UIAlertView - and start the second part from your delegate method when the alert is dismissed.

提交回复
热议问题