¿Cómo se puede cancelar un UIAlertView
I mediante programación? Este es el código que utilizo para mostrar el UIAlertViewcancelar UIAlertView programación
UIAlertView *myAlertView = [[UIAlertView alloc] initWithTitle:@"Save Background" message:@"Downloading..." delegate:self cancelButtonTitle:@"Cancel" otherButtonTitles:nil, nil];
CGAffineTransform myTransform = CGAffineTransformMakeTranslation(0.0, 70.0);
[myAlertView setTransform:myTransform];
[myAlertView show];
1 a ti por ser 20 segundos más rápido que mientras yo estaba escribiendo en ... [ "' cancelButtonIndex'"] (https://developer.apple.com/library/ios/documentation/UIKit/Reference/ UIAlertView_Class/UIAlertView/UIAlertView.html # // apple_ref/OCC/instp/UIAlertView/cancelButtonIndex) no siempre va a ser "' -1'", sin embargo. –