¿Cómo puedo configurar accessibilityIdentifier en UIAlertController?

Así es como simplemente creoUIAlertController y presentarlo en la pantalla:

private class func showAlertWithTitle(title: String, message: String) {

    let alert = UIAlertController(title: title, message: message, preferredStyle: .Alert)
    //alert.accessibilityLabel = "my string here"      //doesnt work
    let action = UIAlertAction(title: "OK", style: .Default) { action in
        alert.dismissViewControllerAnimated(true, completion: nil)
    }

    alert.addAction(action)
    UIStoryboard.topViewController()?.presentViewController(alert, animated: true, completion: nil)
}

y así es como accedo bajoUITests:

emailAlert = app.alerts["First Name"] //for title "First Name"

pero me gustaría establecer un identificador personalizado y acceder a estofirstName Me gusta esto:

emailAlert = app.alerts["firstName"]

¿Es posible?

Respuestas a la pregunta(4)

Su respuesta a la pregunta