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

Popular posts from this blog

java - Andrioid studio start fail: Fatal error initializing 'null' -

android - Gradle sync Error:Configuration with name 'default' not found -

StringGrid issue in Delphi XE8 firemonkey mobile app -