ios - AlertView delegate method alertViewShouldEnableFirstOtherButton not called Swift -
i'm creating alert view , trying use delegate method alertviewshouldenablefirstotherbutton isn't being called. documentation says going deprecated in ios9 i'm using ios8
var alert = uialertview(title: "edit collection name", message: "", delegate: self, cancelbuttontitle: "cancel", otherbuttontitles: "ok") alert.alertviewstyle = uialertviewstyle.plaintextinput alert.show()
*update duncan pointed out uialertview deprecated in ios8.
uialertview deprecated in ios8. credit @duncan c
Comments
Post a Comment