Contents

alertViewShouldEnableFirstOtherButton(_:)

Sent to the delegate to determine whether the first non-cancel button in the alert should be enabled.

Declaration

optional func alertViewShouldEnableFirstOtherButton(_ alertView: UIAlertView) -> Bool

Parameters

  • alertView:

    The alert view that is being configured.

Return Value

true if the button should be enabled, no if the button should be disabled.

See Also

Customizing behavior