This involves providing a block so the user can respond to the delegate method, and an (admittedly ugly but necessary) additional init method. The extra init method is needed because if you don't provide an "other button" in UIAlertView init, it will never call alertViewShouldEnableFirstOtherButton, even if you add other buttons later.
This involves providing a block so the user can respond to the delegate method, and an (admittedly ugly but necessary) additional init method. The extra init method is needed because if you don't provide an "other button" in UIAlertView init, it will never call alertViewShouldEnableFirstOtherButton, even if you add other buttons later.