Several UIAlertViews for a delegate

前端 未结 5 845
-上瘾入骨i
-上瘾入骨i 2020-12-13 13:21

Currently I\'ve got a class popping up UIAlertViews here and there. Currently, the same class is the delegate for these (it\'s very logical that it would be). U

5条回答
  •  孤城傲影
    2020-12-13 13:48

    You can overcome this whole ordeal and prevent yourself from using tags by enhancing UIAlertView to use block callbacks. Check out this blog post I wrote on the subject.

提交回复
热议问题